diff --git a/seaweed-block/core/frontend/durable/provider_chunk.go b/seaweed-block/core/frontend/durable/provider_chunk.go index 9568a032d8..70aacff0c0 100644 --- a/seaweed-block/core/frontend/durable/provider_chunk.go +++ b/seaweed-block/core/frontend/durable/provider_chunk.go @@ -294,19 +294,19 @@ func (r *closeBoundRemote) Delete(ctx context.Context, key string) error { return r.ChunkRemote.Delete(c, key) } -func (r closeBoundRemote) PutIntent(ctx context.Context, in storage.ChunkIntent) (string, error) { +func (r *closeBoundRemote) PutIntent(ctx context.Context, in storage.ChunkIntent) (string, error) { c, end := r.bind(ctx) defer end() return r.ChunkRemote.PutIntent(c, in) } -func (r closeBoundRemote) DeleteIntent(ctx context.Context, id string) error { +func (r *closeBoundRemote) DeleteIntent(ctx context.Context, id string) error { c, end := r.bind(ctx) defer end() return r.ChunkRemote.DeleteIntent(c, id) } -func (r closeBoundRemote) ListIntents(ctx context.Context) ([]storage.ChunkIntent, error) { +func (r *closeBoundRemote) ListIntents(ctx context.Context) ([]storage.ChunkIntent, error) { c, end := r.bind(ctx) defer end() return r.ChunkRemote.ListIntents(c)