From b676bb91efa55883da637b5a948ca833202d1194 Mon Sep 17 00:00:00 2001 From: Ismail Alidzhikov <9372594+ialidzhikov@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:49:29 +0200 Subject: [PATCH] logging: Start from a capital letter --- cluster-autoscaler/simulator/cluster.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster-autoscaler/simulator/cluster.go b/cluster-autoscaler/simulator/cluster.go index cf96e1fcc6b9..e64c880704e2 100644 --- a/cluster-autoscaler/simulator/cluster.go +++ b/cluster-autoscaler/simulator/cluster.go @@ -156,7 +156,7 @@ func (r *RemovalSimulator) SimulateNodeRemoval( podsToRemove, daemonSetPods, blockingPod, err := GetPodsToMove(nodeInfo, r.deleteOptions, r.drainabilityRules, r.listers, remainingPdbTracker, timestamp) if err != nil { - klog.V(2).Infof("node %s cannot be removed: %v", nodeName, err) + klog.V(2).Infof("Node %s cannot be removed: %v", nodeName, err) if blockingPod != nil { return nil, &UnremovableNode{Node: nodeInfo.Node(), Reason: BlockedByPod, BlockingPod: blockingPod} } @@ -167,10 +167,10 @@ func (r *RemovalSimulator) SimulateNodeRemoval( return r.findPlaceFor(nodeName, podsToRemove, destinationMap, timestamp) }) if err != nil { - klog.V(2).Infof("node %s is not suitable for removal: %v", nodeName, err) + klog.V(2).Infof("Node %s is not suitable for removal: %v", nodeName, err) return nil, &UnremovableNode{Node: nodeInfo.Node(), Reason: NoPlaceToMovePods} } - klog.V(2).Infof("node %s may be removed", nodeName) + klog.V(2).Infof("Node %s may be removed", nodeName) return &NodeToBeRemoved{ Node: nodeInfo.Node(), PodsToReschedule: podsToRemove,