Skip to content

Commit

Permalink
fix a couple of mispellings
Browse files Browse the repository at this point in the history
  • Loading branch information
flavianmissi committed Feb 13, 2024
1 parent a8c445c commit 8da416d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/operator/azurepathfixcontroller.go
Expand Up @@ -226,12 +226,12 @@ func (c *AzurePathFixController) sync() error {
degradedCondition.Status = operatorv1.ConditionTrue

// if the job still executing (i.e there are attempts left before backoff),
// we don't want to report degraded, but we let users know that some attemp(s)
// we don't want to report degraded, but we let users know that some attempt(s)
// failed, and the job is still progressing.

requirement, err := labels.NewRequirement("batch.kubernetes.io/job-name", selection.Equals, []string{gen.GetName()})
if err != nil {
// this is extremelly unlikely to happen
// this is extremely unlikely to happen
return err
}
pods, err := c.podLister.List(labels.NewSelector().Add(*requirement))
Expand Down

0 comments on commit 8da416d

Please sign in to comment.