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

fix panic #93

Merged
merged 1 commit into from
May 18, 2022
Merged

fix panic #93

merged 1 commit into from
May 18, 2022

Conversation

svenwltr
Copy link
Member

panic: errors: *target must be interface or implement error

goroutine 96 [running]:
errors.As({0x2b5b900, 0xc002ef2600}, {0x24ed6e0, 0xc000792a20?})
	/usr/local/go/src/errors/wrap.go:89 +0x3df
github.com/pkg/errors.As(...)
	/build/vendor/github.com/pkg/errors/go113.go:31
github.com/rebuy-de/node-drainer/v2/pkg/collectors/aws/asg.(*handler).runOnce(0xc00064c400, {0x2b857b8, 0xc00051b3e0})
	/build/pkg/collectors/aws/asg/asg.go:172 +0x1e5
github.com/rebuy-de/node-drainer/v2/pkg/collectors/aws/asg.(*handler).Run(0xc00064c400, {0x2b85710?, 0xc00064c440?})
	/build/pkg/collectors/aws/asg/asg.go:136 +0xae
github.com/rebuy-de/node-drainer/v2/cmd.(*Runner).Run.func3()
	/build/cmd/runner.go:107 +0x2a
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/build/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x67
created by golang.org/x/sync/errgroup.(*Group).Go
	/build/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x8d

@svenwltr svenwltr self-assigned this May 18, 2022
@svenwltr svenwltr requested a review from a team as a code owner May 18, 2022 13:42
@svenwltr svenwltr merged commit 9394800 into master May 18, 2022
@svenwltr svenwltr deleted the fix-panic branch May 18, 2022 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants