Skip to content

Commit

Permalink
fix: Suppress linter
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarHal committed May 10, 2024
1 parent bed6a46 commit 9a154b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func run(c context.Context, log *logrus.Entry, cfg *config.Config) error {
didRemoveTaint, err := tainter.RemoveTaintKey(ctx, n, cfg.TaintKey)
if err != nil {
logger.Error("removing taint key failed, releasing static public IP address")
if releaseErr := releaseIP(assigner, n); releaseErr != nil {
if releaseErr := releaseIP(assigner, n); releaseErr != nil { //nolint:contextcheck
log.WithError(releaseErr).Error("releasing static public IP address after taint key removal failed")
}
return errors.Wrap(err, "removing node taint key")
Expand Down

0 comments on commit 9a154b1

Please sign in to comment.