Update options.go

This commit is contained in:
Linus Lee 李俊江
2020-08-28 00:11:13 +08:00
committed by GitHub
parent 39cf26f4a4
commit 89303e23b5

View File

@@ -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"))