You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* replace ktesting with explicit calls
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
* replace klog with controller-runtime/log
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
* remove klog
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
* lint fixes (revive var-naming was not introduced in this PR)
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
---------
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
inferencePoolName:=flag.String("inference-pool-name", os.Getenv("INFERENCE_POOL_NAME"), "the specific InferencePool name to watch (defaults to INFERENCE_POOL_NAME env var)")
59
60
enablePrefillerSampling:=flag.Bool("enable-prefiller-sampling", func() bool { b, _:=strconv.ParseBool(os.Getenv("ENABLE_PREFILLER_SAMPLING")); returnb }(), "if true, the target prefill instance will be selected randomly from among the provided prefill host values")
60
61
61
-
klog.InitFlags(nil)
62
+
opts:= zap.Options{}
63
+
opts.BindFlags(flag.CommandLine) // optional to allow zap logging control via CLI
0 commit comments