Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
4d380ee2
Unverified
Commit
4d380ee2
authored
Apr 04, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76117 from SataQiu/fix-golint-test-20190404
Fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go
parents
79a8827c
e6b9197f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bootstrap_signer.go
test/e2e_kubeadm/bootstrap_signer.go
+2
-2
framework.go
test/e2e_kubeadm/framework.go
+1
-0
No files found.
test/e2e_kubeadm/bootstrap_signer.go
View file @
4d380ee2
...
@@ -19,7 +19,7 @@ package e2e_kubeadm
...
@@ -19,7 +19,7 @@ package e2e_kubeadm
import
(
import
(
"k8s.io/kubernetes/test/e2e/framework"
"k8s.io/kubernetes/test/e2e/framework"
.
"github.com/onsi/ginkgo"
"github.com/onsi/ginkgo"
)
)
const
(
const
(
...
@@ -37,7 +37,7 @@ var _ = KubeadmDescribe("bootstrap signer", func() {
...
@@ -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
// so we are disabling the creation of a namespace in order to get a faster execution
f
.
SkipNamespaceCreation
=
true
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
//NB. this is technically implemented a part of the control-plane phase
// and more specifically if the controller manager is properly configured,
// and more specifically if the controller manager is properly configured,
// the bootstrapsigner controller is activated and the system:controller:bootstrap-signer
// the bootstrapsigner controller is activated and the system:controller:bootstrap-signer
...
...
test/e2e_kubeadm/framework.go
View file @
4d380ee2
...
@@ -18,6 +18,7 @@ package e2e_kubeadm
...
@@ -18,6 +18,7 @@ package e2e_kubeadm
import
"k8s.io/kubernetes/test/e2e/framework"
import
"k8s.io/kubernetes/test/e2e/framework"
// KubeadmDescribe annotates the test with the Kubeadm label.
func
KubeadmDescribe
(
text
string
,
body
func
())
bool
{
func
KubeadmDescribe
(
text
string
,
body
func
())
bool
{
return
framework
.
KubeDescribe
(
"[sig-cluster-lifecycle] [area-kubeadm] "
+
text
,
body
)
return
framework
.
KubeDescribe
(
"[sig-cluster-lifecycle] [area-kubeadm] "
+
text
,
body
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment