From 3c34963f33cec56a5e81af641e3246b28ddf240c Mon Sep 17 00:00:00 2001
From: Adam Reese <adam@reese.io>
Date: Wed, 16 Mar 2016 00:39:44 -0600
Subject: [PATCH] fix(client): remove redundant type conversion

---
 pkg/client/client.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/client/client.go b/pkg/client/client.go
index 347d54940..4e5452d6a 100644
--- a/pkg/client/client.go
+++ b/pkg/client/client.go
@@ -86,7 +86,7 @@ func (c *Client) SetTransport(tr http.RoundTripper) *Client {
 
 // SetTimeout sets a timeout for http connections
 func (c *Client) SetTimeout(seconds int) *Client {
-	c.HTTPTimeout = time.Duration(time.Duration(seconds) * time.Second)
+	c.HTTPTimeout = time.Duration(seconds) * time.Second
 	return c
 }
 
-- 
GitLab