piecestore: Fix invalid comment and typos (#3604)

This commit is contained in:
Ivan Fraixedes 2019-11-19 16:30:48 +01:00 committed by GitHub
parent 46ad27c5f2
commit 8e1e4cc342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"},

View File

@ -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