Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #93 from rebuy-de/fix-panic
Browse files Browse the repository at this point in the history
fix panic
  • Loading branch information
svenwltr authored May 18, 2022
2 parents 53d1680 + 9f9988f commit 9394800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/collectors/aws/asg/asg.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (h *handler) runOnce(ctx context.Context) error {
WaitTimeSeconds: 10,
})
if err != nil {
var ce smithy.CanceledError
var ce *smithy.CanceledError
if errors.As(err, &ce) {
// This is a graceful shutdown, triggered by the context
// and not an actual error.
Expand Down

0 comments on commit 9394800

Please sign in to comment.