fix transport nil bug

This commit is contained in:
Anand Babu (AB) Periasamy
2015-03-12 19:09:36 -07:00
parent 98a9bc0b07
commit 5c7aee2fb5
+1 -1
View File
@@ -79,7 +79,7 @@ func getNewClient(c *cli.Context) (*s3.Client, error) {
traceTransport := s3.GetNewTraceTransport(trace, http.DefaultTransport)
client = s3.GetNewClient(&config.S3.Auth, traceTransport)
case false:
client = s3.GetNewClient(&config.S3.Auth, nil)
client = s3.GetNewClient(&config.S3.Auth, http.DefaultTransport)
}
return client, nil