Fixed typo in comment in eviction_manager

Fixed typo in comment in eviction_manager
parent 83603f03
...@@ -309,8 +309,8 @@ func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc Act ...@@ -309,8 +309,8 @@ func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc Act
m.lastObservations = observations m.lastObservations = observations
m.Unlock() m.Unlock()
// evict pods if there is a resource uage violation from local volume temporary storage // evict pods if there is a resource usage violation from local volume temporary storage
// If eviction happenes in localVolumeEviction function, skip the rest of eviction action // If eviction happens in localVolumeEviction function, skip the rest of eviction action
if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) {
if evictedPods := m.localStorageEviction(activePods); len(evictedPods) > 0 { if evictedPods := m.localStorageEviction(activePods); len(evictedPods) > 0 {
return evictedPods return evictedPods
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment