mc: Fix release build flags after recent refactor. (#1794)

This commit is contained in:
Harshavardhana
2016-08-13 13:49:18 -07:00
committed by GitHub
parent c9c95f2e9e
commit f5ff7e15cf
12 changed files with 34 additions and 43 deletions
+1 -2
View File
@@ -155,11 +155,10 @@ func newClientFromAlias(alias string, urlStr string) (Client, *probe.Error) {
s3Config.Signature = hostCfg.API
s3Config.AppName = "mc"
s3Config.AppVersion = mcVersion
s3Config.AppVersion = MCVersion
s3Config.AppComments = []string{os.Args[0], runtime.GOOS, runtime.GOARCH}
s3Config.HostURL = urlStr
s3Config.Debug = globalDebug
s3Client, err := s3New(s3Config)
if err != nil {
return nil, err.Trace(alias, urlStr)