From 97dd0a31f1cdef2d399f72e32a823fdd00130aba Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Wed, 15 Apr 2020 11:25:14 -0700 Subject: [PATCH] Turn stale ClientConfig error into warning --- pkg/minikube/bootstrapper/kubeadm/kubeadm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/minikube/bootstrapper/kubeadm/kubeadm.go b/pkg/minikube/bootstrapper/kubeadm/kubeadm.go index 3be149ae2f..8f8b74ac48 100644 --- a/pkg/minikube/bootstrapper/kubeadm/kubeadm.go +++ b/pkg/minikube/bootstrapper/kubeadm/kubeadm.go @@ -316,7 +316,7 @@ func (k *Bootstrapper) client(ip string, port int) (*kubernetes.Clientset, error endpoint := fmt.Sprintf("https://%s", net.JoinHostPort(ip, strconv.Itoa(port))) if cc.Host != endpoint { - glog.Errorf("Overriding stale ClientConfig host %s with %s", cc.Host, endpoint) + glog.Warningf("Overriding stale ClientConfig host %s with %s", cc.Host, endpoint) cc.Host = endpoint } c, err := kubernetes.NewForConfig(cc)