From 3b1dc975d0ed47f65b9d5296bc36bafb6306de86 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Fri, 17 Jul 2020 07:23:48 -0700 Subject: [PATCH] legacy client certs: simplify logic --- pkg/minikube/localpath/localpath.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/minikube/localpath/localpath.go b/pkg/minikube/localpath/localpath.go index 864a0ad4c3..b380354032 100644 --- a/pkg/minikube/localpath/localpath.go +++ b/pkg/minikube/localpath/localpath.go @@ -76,10 +76,8 @@ func ClientCert(name string) string { glog.Errorf("failed copy %s -> %s: %v", legacy, new, err) return legacy } - return new } - glog.Infof("unable to find a client cert, returning default: %s", new) return new } @@ -98,10 +96,8 @@ func ClientKey(name string) string { glog.Errorf("failed copy %s -> %s: %v", legacy, new, err) return legacy } - return new } - glog.Errorf("unable to find a client key, returning default: %s", new) return new }