diff --git a/pkg/client/client.go b/pkg/client/client.go index 347d54940227848a64e93b1cb21203607438d186..4e5452d6ace18dd47d4df68e468e84542a12f620 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 }