From 91dc14c9fc1fe5311dcacf1cefaefc60438dfe45 Mon Sep 17 00:00:00 2001 From: Christian Kemper Date: Sun, 14 Feb 2016 09:27:00 -0800 Subject: [PATCH] fix Hound warning --- backend/s3/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/s3/config.go b/backend/s3/config.go index 883939607..985db0aad 100644 --- a/backend/s3/config.go +++ b/backend/s3/config.go @@ -53,7 +53,7 @@ func ParseConfig(s string) (interface{}, error) { } } -func createConfig(endpoint string, path []string, useHttp bool) (interface{}, error) { +func createConfig(endpoint string, path []string, useHTTP bool) (interface{}, error) { var prefix string switch { case len(path) < 1: @@ -65,7 +65,7 @@ func createConfig(endpoint string, path []string, useHttp bool) (interface{}, er } return Config{ Endpoint: endpoint, - UseHTTP: useHttp, + UseHTTP: useHTTP, Bucket: path[0], Prefix: prefix, }, nil