From 89303e23b5efebe1dc4bbc76d3d60178eedc3ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Lee=20=E6=9D=8E=E4=BF=8A=E6=B1=9F?= <22050425+Mr-Linus@users.noreply.github.com> Date: Fri, 28 Aug 2020 00:11:13 +0800 Subject: [PATCH] Update options.go --- cmd/kube-scheduler/app/options/options.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/kube-scheduler/app/options/options.go b/cmd/kube-scheduler/app/options/options.go index 06195961c0b..4549287b4bd 100644 --- a/cmd/kube-scheduler/app/options/options.go +++ b/cmd/kube-scheduler/app/options/options.go @@ -347,7 +347,6 @@ func createClients(config componentbaseconfig.ClientConnectionConfiguration, mas kubeConfig.AcceptContentTypes = config.AcceptContentTypes kubeConfig.ContentType = config.ContentType kubeConfig.QPS = config.QPS - //TODO make config struct use int instead of int32? kubeConfig.Burst = int(config.Burst) client, err := clientset.NewForConfig(restclient.AddUserAgent(kubeConfig, "scheduler"))