Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jwtty committed Dec 18, 2024
1 parent 437e531 commit 3bfcfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/updaterun/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func validateDeleteStageStatus(
}

// Validate whether toBeDeletedBindings are a subnet of the clusters in the delete stage status.
// We only validate if it's a subnet because clusters can unjoin from the fleet and we allow that.
// We only validate if it's a subnet because we will delete the bindings during the deleteStage execution so they can disappear.
// We only need to check the existence, not the order, because clusters are always sorted by name in the delete stage.
deletingClusterMap := make(map[string]struct{}, len(existingDeleteStageStatus.Clusters))
for _, cluster := range existingDeleteStageStatus.Clusters {
Expand Down

0 comments on commit 3bfcfa2

Please sign in to comment.