mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-28 01:47:20 +00:00
chore: qps flag: use float32 instead of float64
This commit is contained in:
@@ -74,7 +74,7 @@ func NewClientOrDie(npdo *options.NodeProblemDetectorOptions) Client {
|
||||
}
|
||||
|
||||
cfg.UserAgent = fmt.Sprintf("%s/%s", filepath.Base(os.Args[0]), version.Version())
|
||||
cfg.QPS = float32(npdo.QPS)
|
||||
cfg.QPS = npdo.QPS
|
||||
cfg.Burst = npdo.Burst
|
||||
c.client = clientset.NewForConfigOrDie(cfg).CoreV1()
|
||||
c.nodeName = npdo.NodeName
|
||||
|
||||
Reference in New Issue
Block a user