Fix cyclomatic complexity lint error
Fix cyclomatic complexity lint error

warmchang/minikube,kubernetes/minikube,warmchang/minikube,warmchang/minikube,kubernetes/minikube,warmchang/minikube,kubernetes/minikube,warmchang/minikube,kubernetes/minikube,warmchang/minikube,kubernetes/minikube,kubernetes/minikube,warmchang/minikube,kubernetes/minikube