summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-10 16:22:43 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-10 16:22:43 +0100
commit25fdd94671d6b090992e8086334852dfd68f16d8 (patch)
treeef938fc258296e5e4752df055238c843f13b5dcb
parenta303e073301ffecdddea003cbae72f2f953a0ab7 (diff)
HTTP: Fix typo in status error
-rw-r--r--internal/http/http.go2
1 files changed, 1 insertions, 1 deletions
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,