Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
amroessam committed Jan 11, 2025
1 parent addbfed commit 9a54732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/providers/spaceship/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (p *Provider) handleAPIError(response *http.Response) error {
}

// Extract error code from header if present
errorCode := response.Header.Get("spaceship-error-code")
errorCode := response.Header.Get("Spaceship-Error-Code")

switch response.StatusCode {
case http.StatusUnauthorized:
Expand Down

0 comments on commit 9a54732

Please sign in to comment.