Skip to content

Commit

Permalink
nit: updating comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentportella committed Sep 2, 2024
1 parent 58fb8ae commit 4eedd00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/controller/cyclenoderequest/transitioner/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,9 @@ func (t *CycleNodeRequestTransitioner) deleteFailedSiblingCNRs() error {
continue
}

// The Failed CNR should have been created prior to the CNR now in
// Successful otherwise new CNRs could fail and be cleaned up.
// The Failed CNR should have been created prior to or at the same time
// as the CNR now in Successful otherwise new CNRs could fail and be
// cleaned up.
if t.cycleNodeRequest.CreationTimestamp.Before(&cnr.CreationTimestamp) {
continue
}
Expand Down

0 comments on commit 4eedd00

Please sign in to comment.