mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
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:
commit
4d380ee279
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user