Merge pull request #312 from harshavardhana/pr_out_build_fix

This commit is contained in:
Harshavardhana
2015-04-10 17:34:11 -07:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ package main
import (
"github.com/minio-io/cli"
"github.com/minio-io/mc/pkg/client/s3"
"github.com/minio-io/mc/pkg/client"
"github.com/minio-io/mc/pkg/console"
"github.com/minio-io/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/utils/log"
@@ -53,7 +53,7 @@ func doMakeBucketCmd(ctx *cli.Context) {
console.Fatalln(err)
}
if !s3.IsValidBucketName(bucket) {
if !client.IsValidBucketName(bucket) {
log.Debug.Println(iodine.New(err, nil))
console.Fatalln(errInvalidbucket)
}
+1 -1
View File
@@ -95,7 +95,7 @@ func TestValidBucketNames(t *testing.T) {
}
for _, bt := range m {
got := IsValidBucketName(bt.in)
got := client.IsValidBucketName(bt.in)
if got != bt.want {
t.Errorf("func(%q) = %v; want %v", bt.in, got, bt.want)
}