diff options
Diffstat (limited to 'internal/http/http.go')
| -rw-r--r-- | internal/http/http.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/http/http.go b/internal/http/http.go index 005a665..a9d3ea2 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -170,13 +170,13 @@ func (e *HTTPStatusError) Error() string { ) } -type HTTPParseJsonError struct { +type HTTPParseJSONError struct { URL string Body string Err error } -func (e *HTTPParseJsonError) Error() string { +func (e *HTTPParseJSONError) Error() string { return fmt.Sprintf( "failed parsing json %s for HTTP resource: %s with error: %v", e.Body, |
