mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
cleanup:Omit comparison with boolean constant
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user