From ce19ac96ea6fe1ac1ad45f5ed38513c58b7f8718 Mon Sep 17 00:00:00 2001 From: Riccardo Murri Date: Thu, 17 Sep 2020 12:25:33 +0200 Subject: [PATCH] Fix typo in scale_down.go --- cluster-autoscaler/core/scale_down.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-autoscaler/core/scale_down.go b/cluster-autoscaler/core/scale_down.go index 390af6d550ef..9e71ca0c0f1c 100644 --- a/cluster-autoscaler/core/scale_down.go +++ b/cluster-autoscaler/core/scale_down.go @@ -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 }