mc: Fix release build flags after recent refactor. (#1794)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user