mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #16999 from ZhuPeng/bugfix_config_setdefault
Auto commit by PR queue bot
This commit is contained in:
commit
d7458ddd4c
@ -408,6 +408,7 @@ func setDefaults(c *Config) {
|
||||
glog.Fatalf("Unable to find suitable network address.error='%v' . "+
|
||||
"Will try again in 5 seconds. Set the public address directly to avoid this wait.", err)
|
||||
time.Sleep(5 * time.Second)
|
||||
continue
|
||||
}
|
||||
c.PublicAddress = hostIP
|
||||
glog.Infof("Will report %v as public IP address.", c.PublicAddress)
|
||||
|
Loading…
Reference in New Issue
Block a user