mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
modify log Info to Warning when proxyMode unknown
Change-Id: I39f143d07fb43261afb0d6cbd67bff054796ebcc
This commit is contained in:
parent
e5fbea62c6
commit
23aadeadb8
@ -355,7 +355,7 @@ func getProxyMode(proxyMode string, client nodeGetter, hostname string, iptver i
|
||||
} else if proxyMode == proxyModeIptables {
|
||||
return tryIptablesProxy(iptver, kcompat)
|
||||
} else if proxyMode != "" {
|
||||
glog.V(1).Infof("Flag proxy-mode=%q unknown, assuming iptables proxy", proxyMode)
|
||||
glog.Warningf("Flag proxy-mode=%q unknown, assuming iptables proxy", proxyMode)
|
||||
return tryIptablesProxy(iptver, kcompat)
|
||||
}
|
||||
// proxyMode == "" - choose the best option.
|
||||
|
Loading…
Reference in New Issue
Block a user