mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Merge pull request #94072 from Mr-Linus/patch-3
Remove TODO in cmd/kube-scheduler/app/options/options.go
This commit is contained in:
commit
1aec0a0fe0
@ -347,7 +347,6 @@ func createClients(config componentbaseconfig.ClientConnectionConfiguration, mas
|
|||||||
kubeConfig.AcceptContentTypes = config.AcceptContentTypes
|
kubeConfig.AcceptContentTypes = config.AcceptContentTypes
|
||||||
kubeConfig.ContentType = config.ContentType
|
kubeConfig.ContentType = config.ContentType
|
||||||
kubeConfig.QPS = config.QPS
|
kubeConfig.QPS = config.QPS
|
||||||
//TODO make config struct use int instead of int32?
|
|
||||||
kubeConfig.Burst = int(config.Burst)
|
kubeConfig.Burst = int(config.Burst)
|
||||||
|
|
||||||
client, err := clientset.NewForConfig(restclient.AddUserAgent(kubeConfig, "scheduler"))
|
client, err := clientset.NewForConfig(restclient.AddUserAgent(kubeConfig, "scheduler"))
|
||||||
|
Loading…
Reference in New Issue
Block a user