From 8789a387a2e34b13b564c6fa16b4e4e701442236 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 30 Jul 2017 17:41:22 +0200 Subject: [PATCH] =?UTF-8?q?fix=20typo:=20upto=20=E2=86=92=20up=20to=20(#77?= =?UTF-8?q?3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-compose-object.go | 2 +- functional_tests.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-compose-object.go b/api-compose-object.go index 6baf09e84..4fa88b818 100644 --- a/api-compose-object.go +++ b/api-compose-object.go @@ -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)) diff --git a/functional_tests.go b/functional_tests.go index c35bb45c5..6b653ab5f 100644 --- a/functional_tests.go +++ b/functional_tests.go @@ -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) }