Skip to content

Commit

Permalink
SCALRCORE-18723 Fix Provider to handle 404 error
Browse files Browse the repository at this point in the history
  • Loading branch information
ablik committed Aug 17, 2021
1 parent cf33a6e commit dbc9419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalr.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func checkResponseCode(r *http.Response) error {

if r.StatusCode == 404 {
return &ErrResourceNotFound{
Message: fmt.Sprintf(strings.Join(errs, "\n")),
Message: fmt.Sprint(strings.Join(errs, "\n")),
}
}

Expand Down

0 comments on commit dbc9419

Please sign in to comment.