mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Switch klog call to use structured logging
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
a2408f39c7
commit
8bec318b5d
@ -53,7 +53,7 @@ func loadConfig(data []byte) (*config.KubeSchedulerConfiguration, error) {
|
||||
// more details.
|
||||
cfgObj.TypeMeta.APIVersion = gvk.GroupVersion().String()
|
||||
if cfgObj.TypeMeta.APIVersion == configv1beta2.SchemeGroupVersion.String() {
|
||||
klog.Warning("KubeSchedulerConfiguration v1beta2 is deprecated in v1.25, will be removed in v1.26")
|
||||
klog.InfoS("KubeSchedulerConfiguration v1beta2 is deprecated in v1.25, will be removed in v1.26")
|
||||
}
|
||||
return cfgObj, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user