Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Apr 5, 2022
1 parent 436dc2f commit bc899dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions esx/runnable.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ func (r *Runnable) deleteAnnotation(ctx context.Context, node *v1.Node, key stri
if node.Annotations == nil {
return nil
}
_, ok := node.Annotations[key]
if !ok {
if _, ok := node.Annotations[key]; !ok {
return nil
}
cloned := node.DeepCopy()
Expand Down

0 comments on commit bc899dd

Please sign in to comment.