diff --git a/storagenode/piecestore/endpoint_test.go b/storagenode/piecestore/endpoint_test.go index 14faae6b7..6abe5dc30 100644 --- a/storagenode/piecestore/endpoint_test.go +++ b/storagenode/piecestore/endpoint_test.go @@ -229,7 +229,7 @@ func TestDownload(t *testing.T) { action: pb.PieceAction_GET, errs: []string{"file does not exist", "The system cannot find the path specified"}, }, - { // should successfully download data + { // should err with invalid action pieceID: orderLimit.PieceId, action: pb.PieceAction_PUT, errs: []string{"expected get or get repair or audit action got PUT"}, diff --git a/uplink/piecestore/client.go b/uplink/piecestore/client.go index 528bbb553..04a8f2cd3 100644 --- a/uplink/piecestore/client.go +++ b/uplink/piecestore/client.go @@ -20,7 +20,7 @@ import ( // Error is the default error class for piecestore client. var Error = errs.Class("piecestore") -// Config defines piecestore client parameters fro upload and download. +// Config defines piecestore client parameters for upload and download. type Config struct { UploadBufferSize int64 DownloadBufferSize int64