From 68433abb7c48fe7d99fce15da16ef57f73902a83 Mon Sep 17 00:00:00 2001 From: dasydong Date: Sat, 28 Dec 2019 01:06:22 +0800 Subject: [PATCH] Remove duplicate comments --- cluster-autoscaler/core/static_autoscaler.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cluster-autoscaler/core/static_autoscaler.go b/cluster-autoscaler/core/static_autoscaler.go index b736a8bc0a28..e4e0a57607bb 100644 --- a/cluster-autoscaler/core/static_autoscaler.go +++ b/cluster-autoscaler/core/static_autoscaler.go @@ -518,7 +518,6 @@ func fixNodeGroupSize(context *context.AutoscalingContext, clusterStateRegistry return fixed, nil } -// Removes unregistered nodes if needed. Returns true if anything was removed and error if such occurred. // Removes unregistered nodes if needed. Returns true if anything was removed and error if such occurred. func removeOldUnregisteredNodes(unregisteredNodes []clusterstate.UnregisteredNode, context *context.AutoscalingContext, csr *clusterstate.ClusterStateRegistry, currentTime time.Time, logRecorder *utils.LogEventRecorder) (bool, error) {