Skip to content

Commit 0537c31

Browse files
committed
Do not write info on getInfo
1 parent f91398e commit 0537c31

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

pkg/gcsstore/gcsstore.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,6 @@ func (upload gcsUpload) GetInfo(ctx context.Context) (handler.FileInfo, error) {
230230
}
231231

232232
info.Offset = offset
233-
err = store.writeInfo(ctx, store.keyWithPrefix(id), info)
234-
if err != nil {
235-
return info, err
236-
}
237233

238234
return info, nil
239235
}

0 commit comments

Comments
 (0)