cleanup:Omit comparison with boolean constant

This commit is contained in:
lojies 2022-11-09 09:54:41 +08:00
parent e62cfabf93
commit e2a4565a2b

View File

@ -393,7 +393,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
}