diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-02-17 18:42:02 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2022-02-17 18:42:02 +0000 |
commit | 419ca82c28e7ea97ae7f7f1265eca158fae0844c (patch) | |
tree | 55ee9be894ad4f862ffeb12f733048451ff8c063 /client/go/util/http.go | |
parent | c1e701cd70e2531302a6e72d0900772f4296ab2c (diff) | |
parent | 70e50ea1b7d974ffb2e1db805e8e273eeffd6d0e (diff) |
Merge branch 'master' into arnej/rename-summaryfeatures-back-to-original
Diffstat (limited to 'client/go/util/http.go')
-rw-r--r-- | client/go/util/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/util/http.go b/client/go/util/http.go index d5b8e3128ff..f95d52dabad 100644 --- a/client/go/util/http.go +++ b/client/go/util/http.go @@ -49,7 +49,7 @@ func CreateClient(timeout time.Duration) HttpClient { func HttpGet(host string, path string, description string) (*http.Response, error) { url, err := url.Parse(host + path) if err != nil { - return nil, fmt.Errorf("Invalid target URL: %s: %w", host+path, err) + return nil, fmt.Errorf("invalid target url: %s: %w", host+path, err) } return HttpDo(&http.Request{URL: url}, time.Second*10, description) } |