Skip to content

Commit 002eee4

Browse files
Merge pull request kubernetes#804 from aleksandra-malinowska/unremovable-error-msg
Rephrase unremovable node warning
2 parents ba17d01 + 3d599bf commit 002eee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cluster-autoscaler/core/scale_down.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (sd *ScaleDown) UpdateUnneededNodes(
172172
}
173173
skipped := len(nodesToCheck) - len(filteredNodesToCheck)
174174
if skipped > 0 {
175-
glog.V(1).Infof("Scale-down calculation: ignoring %v nodes, that were unremovable in the last %v", skipped, UnremovableNodeRecheckTimeout)
175+
glog.V(1).Infof("Scale-down calculation: ignoring %v nodes unremovable in the last %v", skipped, UnremovableNodeRecheckTimeout)
176176
}
177177

178178
// Phase1 - look at the nodes utilization. Calculate the utilization
@@ -291,7 +291,7 @@ func (sd *ScaleDown) UpdateUnneededNodes(
291291
for _, node := range unremovable {
292292
sd.unremovableNodes[node.Name] = unremovableTimeout
293293
}
294-
glog.V(1).Infof("%v nodes found unremovable in simulation, will re-check them at %v", len(unremovable), unremovableTimeout)
294+
glog.V(1).Infof("%v nodes found to be unremovable in simulation, will re-check them at %v", len(unremovable), unremovableTimeout)
295295
}
296296

297297
// Update state and metrics

0 commit comments

Comments
 (0)