Skip to content

Commit

Permalink
Satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Jul 4, 2024
1 parent 94133a7 commit 1c33511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/kubernetes/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func UpdateNodeLabelsWithBackoff(ctx context.Context, client clientset.Interface
node.Labels[key] = value
}

_, err = client.CoreV1().Nodes().Update(context.Background(), node, metav1.UpdateOptions{})
_, err = client.CoreV1().Nodes().Update(ctx, node, metav1.UpdateOptions{})
return err
})
}
Expand Down

0 comments on commit 1c33511

Please sign in to comment.