Fix typo in scale_down.go

This commit is contained in:
Riccardo Murri 2020-09-17 12:25:33 +02:00 committed by GitHub
parent 24c1f906f6
commit ce19ac96ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ func (sd *ScaleDown) UpdateUnneededNodes(
for _, node := range scaleDownCandidates {
nodeInfo, err := sd.context.ClusterSnapshot.NodeInfos().Get(node.Name)
if err != nil {
klog.Errorf("Can't retrive scale-down candidate %s from snapshot, err: %v", node.Name, err)
klog.Errorf("Can't retrieve scale-down candidate %s from snapshot, err: %v", node.Name, err)
sd.addUnremovableNodeReason(node, simulator.UnexpectedError)
continue
}