piecestore: Fix invalid comment and typos (#3604)
This commit is contained in:
parent
46ad27c5f2
commit
8e1e4cc342
@ -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"},
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user