Skip to content

Commit

Permalink
Fixed whitespce issue
Browse files Browse the repository at this point in the history
  • Loading branch information
balamut-google committed Feb 25, 2025
1 parent fd31d1c commit 851fd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-janitor/resources/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func CleanAll(opts Options, region string) error {
// ignore errors for resources we do not have permissions to list
if resperr, ok := errors.Cause(err).(*awshttp.ResponseError); ok {
var responseError interface {
HTTPStatusCode() int
HTTPStatusCode() int
}
if resperr.As(&responseError) && responseError.HTTPStatusCode() == http.StatusForbidden {
logger.Debugf("Skipping resources of type %T, account does not have permission to list", typ)
Expand Down

0 comments on commit 851fd84

Please sign in to comment.