diff --git a/client/request.go b/client/request.go index 47e1ff59..43fe668d 100644 --- a/client/request.go +++ b/client/request.go @@ -145,7 +145,7 @@ func (r *request) execute(method, path string, data interface{}) (io.ReadCloser, func (r *request) buildClient() http.Client { return http.Client{ - Timeout: time.Duration(defaultTimeout * time.Second), + Timeout: defaultTimeout * time.Second, } }