Merge pull request #113768 from lojies/codecleanupforkubeleteviction

cleanup:Omit comparison with boolean constant
This commit is contained in:
Kubernetes Prow Robot
2022-12-09 14:34:26 -08:00
committed by GitHub

View File

@@ -407,7 +407,7 @@ func (r *EvictionREST) checkAndDecrement(namespace string, podName string, pdb p
}
// If this is a dry-run, we don't need to go any further than that.
if dryRun == true {
if dryRun {
return nil
}