Storage: create a client with access to all interfaces, not just ResourceStore (#92967)

This commit is contained in:
Ryan McKinley authored and GitHub committed 2024-09-05 12:52:30 +03:00
1 parent 9338e40dc3
commit 5441e4c752
11 files changed
+95 -118

No files matched your search

@@ -356,7 +356,7 @@ func TestClientServer(t *testing.T) {
t.Run("Create a client", func(t *testing.T) {
conn, err := grpc.NewClient(svc.GetAddress(), grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err)
client = resource.NewResourceStoreClientGRPC(conn)
client = resource.NewResourceClient(conn)
})
t.Run("Create a resource", func(t *testing.T) {