Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Matej Gera <[email protected]>
Signed-off-by: Jimmie Han <[email protected]>
  • Loading branch information
hanjm and matej-g committed Feb 25, 2022
1 parent ad72427 commit 4100da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/objstore/cos/cos.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func (b *Bucket) getRange(ctx context.Context, name string, off, length int64) (
runutil.ExhaustCloseWithLogOnErr(b.logger, resp.Body, "cos get range obj close")
return nil, err
}
// Add size info into reader for pass it to Upload function.
// Add size info into reader to pass it to Upload function.
r := objectSizerReadCloser{ReadCloser: resp.Body, size: resp.ContentLength}
return r, nil
}
Expand Down

0 comments on commit 4100da5

Please sign in to comment.