From 6e0dbad5550aaf0cb6f0d554136427b2f592e772 Mon Sep 17 00:00:00 2001 From: NickrenREN Date: Fri, 30 Dec 2016 17:10:37 +0800 Subject: [PATCH] remove never used var LargeClusterThreshold is never used now,remove it --- pkg/controller/node/controller_utils.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/controller/node/controller_utils.go b/pkg/controller/node/controller_utils.go index fb80f6c78f3..98024f8c0e7 100644 --- a/pkg/controller/node/controller_utils.go +++ b/pkg/controller/node/controller_utils.go @@ -38,11 +38,6 @@ import ( "github.com/golang/glog" ) -const ( - // Number of Nodes that needs to be in the cluster for it to be treated as "large" - LargeClusterThreshold = 20 -) - // deletePods will delete all pods from master running on given node, and return true // if any pods were deleted, or were found pending deletion. func deletePods(kubeClient clientset.Interface, recorder record.EventRecorder, nodeName, nodeUID string, daemonStore cache.StoreToDaemonSetLister) (bool, error) {