From 2509a4c98a9a37135363a55effbdbe95b1a2ca51 Mon Sep 17 00:00:00 2001 From: Marc Schubert Date: Mon, 13 May 2019 13:53:14 +0200 Subject: [PATCH] Update readwrite.go (#1950) Correcting wrong doc string. --- storagenode/pieces/readwrite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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