Decrease cyclomatic complexity
Here is the report (from gocyclo), before: 21 tests (*SSHServer).Start pkg/minikube/tests/ssh_mock.go:76:1 19 cmd runStart cmd/minikube/cmd/start.go:173:1 18 integration testTunnel test/integration/tunnel_test.go:40:1 17 extract checkCallExpression pkg/minikube/extract/extract.go:198:1 17 kubeadm TestGenerateConfig pkg/minikube/bootstrapper/kubeadm/kubeadm_test.go:133:1 16 kvm (*Driver).deleteNetwork pkg/drivers/kvm/network.go:153:1
Showing
想要评论请 注册 或 登录