From 22187fb0d781651c621ff5fbcd34abd5f415ae71 Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Thu, 9 Apr 2015 02:44:59 -0700 Subject: [PATCH] config bug fixes and removed default-host support --- cmd-common.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd-common.go b/cmd-common.go index 3b43c46f..c479a926 100644 --- a/cmd-common.go +++ b/cmd-common.go @@ -17,15 +17,15 @@ package main import ( - "fmt" "path" "time" + "net/http" + "github.com/cheggaaa/pb" "github.com/minio-io/mc/pkg/client" "github.com/minio-io/mc/pkg/client/s3" "github.com/minio-io/minio/pkg/iodine" - "net/http" ) // StartBar -- instantiate a progressbar @@ -67,7 +67,6 @@ func getNewClient(debug bool, urlStr string) (clnt client.Client, err error) { var auth s3.Auth auth.AccessKeyID = hostCfg.Auth.AccessKeyID auth.SecretAccessKey = hostCfg.Auth.SecretAccessKey - fmt.Println(urlStr) uType, err := getURLType(urlStr) if err != nil { return nil, iodine.New(err, nil)