improve error message

pull/11482/head
Steven Powell 2021-05-21 14:08:32 -07:00
parent 9a529acdcd
commit 9de7d2da57
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ func Start(starter Starter, apiServer bool) (*kubeconfig.Settings, error) {
go func() {
// inject {"host.minikube.internal": hostIP} record into CoreDNS
if err := addCoreDNSEntry(starter.Runner, "host.minikube.internal", hostIP.String(), *starter.Cfg); err != nil {
klog.Errorf("Unable to inject {%q: %s} record into CoreDNS: %v", "host.minikube.internal", hostIP.String(), err)
out.Err("Failed to inject host.minikube.internal into CoreDNS, this will limit the pods access to the host IP")
}
}()
} else {