diff --git a/storagenode/pieces/readwrite.go b/storagenode/pieces/readwrite.go index d4e12718f..a25a5e98a 100644 --- a/storagenode/pieces/readwrite.go +++ b/storagenode/pieces/readwrite.go @@ -69,7 +69,7 @@ func (w *Writer) Cancel() error { return Error.Wrap(w.blob.Cancel()) } -// Reader implements a piece writer that writes content to blob store and calculates a hash. +// Reader implements a piece reader that reads content from blob store. type Reader struct { buf bufio.Reader blob storage.BlobReader