mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
cleanup:Omit comparison with boolean constant
This commit is contained in:
parent
e62cfabf93
commit
e2a4565a2b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user