mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
fix eviction helper function description
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
parent
a7684569fb
commit
9b4a8f7464
@ -845,7 +845,7 @@ func hasThreshold(inputs []evictionapi.Threshold, item evictionapi.Threshold) bo
|
||||
return false
|
||||
}
|
||||
|
||||
// compareevictionapi.ThresholdValue returns true if the two thresholdValue objects are logically the same
|
||||
// compareThresholdValue returns true if the two thresholdValue objects are logically the same
|
||||
func compareThresholdValue(a evictionapi.ThresholdValue, b evictionapi.ThresholdValue) bool {
|
||||
if a.Quantity != nil {
|
||||
if b.Quantity == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user