From 25fdd94671d6b090992e8086334852dfd68f16d8 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 10 Nov 2022 16:22:43 +0100 Subject: HTTP: Fix typo in status error --- internal/http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/http/http.go') diff --git a/internal/http/http.go b/internal/http/http.go index 6ff853b..005a665 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -163,7 +163,7 @@ type HTTPStatusError struct { func (e *HTTPStatusError) Error() string { return fmt.Sprintf( - "failed obtaining HTTP resource: %s as it gave an unsuccesful status code: %d. Body: %s", + "failed obtaining HTTP resource: %s as it gave an unsuccessful status code: %d. Body: %s", e.URL, e.Status, e.Body, -- cgit v1.2.3