18794: Merge branch 'main'
[arvados.git] / sdk / go / arvados / fs_backend.go
index 445ac8103008f0104f1f53d731843bc893ea3d33..cc4c32ffe9bc520e48a46da858b6037b541f8bb4 100644 (file)
@@ -37,7 +37,7 @@ var errStubClient = errors.New("stub client")
 type StubClient struct{}
 
 func (*StubClient) ReadAt(string, []byte, int) (int, error) { return 0, errStubClient }
-func (*StubClient) LocalLocator(string) (string, error)     { return "", errStubClient }
+func (*StubClient) LocalLocator(loc string) (string, error) { return loc, nil }
 func (*StubClient) BlockWrite(context.Context, BlockWriteOptions) (BlockWriteResponse, error) {
        return BlockWriteResponse{}, errStubClient
 }