Skip to content

Commit

Permalink
fix typo: upto → up to (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg authored and deekoder committed Jul 30, 2017
1 parent 7f5b94f commit 8789a38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api-compose-object.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (c Client) uploadPartCopy(bucket, object, uploadID string, partNumber int,
// server-side copying operations.
func (c Client) ComposeObject(dst DestinationInfo, srcs []SourceInfo) error {
if len(srcs) < 1 || len(srcs) > maxPartsCount {
return ErrInvalidArgument("There must be as least one and upto 10000 source objects.")
return ErrInvalidArgument("There must be as least one and up to 10000 source objects.")
}

srcSizes := make([]int64, len(srcs))
Expand Down
2 changes: 1 addition & 1 deletion functional_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -3246,7 +3246,7 @@ func testComposeObjectErrorCasesWrapper(c *minio.Client) {

if err := c.ComposeObject(dst, srcSlice); err == nil {
logger().Fatal("Error was expected.")
} else if err.Error() != "There must be as least one and upto 10000 source objects." {
} else if err.Error() != "There must be as least one and up to 10000 source objects." {
logger().Fatal("Got unexpected error: ", err)
}

Expand Down

0 comments on commit 8789a38

Please sign in to comment.