Merge pull request #76117 from SataQiu/fix-golint-test-20190404

Fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go
This commit is contained in:
Kubernetes Prow Robot 2019-04-04 05:30:52 -07:00 committed by GitHub
commit 4d380ee279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ package e2e_kubeadm
import (
"k8s.io/kubernetes/test/e2e/framework"
. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo"
)
const (
@ -37,7 +37,7 @@ var _ = KubeadmDescribe("bootstrap signer", func() {
// so we are disabling the creation of a namespace in order to get a faster execution
f.SkipNamespaceCreation = true
It("should be active", func() {
ginkgo.It("should be active", func() {
//NB. this is technically implemented a part of the control-plane phase
// and more specifically if the controller manager is properly configured,
// the bootstrapsigner controller is activated and the system:controller:bootstrap-signer

View File

@ -18,6 +18,7 @@ package e2e_kubeadm
import "k8s.io/kubernetes/test/e2e/framework"
// KubeadmDescribe annotates the test with the Kubeadm label.
func KubeadmDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-cluster-lifecycle] [area-kubeadm] "+text, body)
}