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

This commit is contained in:
Ryan McKinley
2024-09-05 12:52:30 +03:00
committed by GitHub
parent 9338e40dc3
commit 5441e4c752
11 changed files with 95 additions and 118 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func testSetup(t testing.TB, opts ...setupOption) (context.Context, storage.Inte
Backend: backend,
})
require.NoError(t, err)
client := resource.NewLocalResourceStoreClient(server)
client := resource.NewLocalResourceClient(server)
config := storagebackend.NewDefaultConfig(setupOpts.prefix, setupOpts.codec)
store, destroyFunc, err := NewStorage(