Merge pull request #16999 from ZhuPeng/bugfix_config_setdefault

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-10 16:33:35 -08:00
commit d7458ddd4c

View File

@ -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)