From 5c7aee2fb541197f7e1f9ceeef8a82ceae66fff3 Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Thu, 12 Mar 2015 19:09:36 -0700 Subject: [PATCH] fix transport nil bug --- common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.go b/common.go index b7965400..a9148511 100644 --- a/common.go +++ b/common.go @@ -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