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
4d6e2fce
Unverified
Commit
4d6e2fce
authored
Apr 05, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 05, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #75936 from qingsenLi/k8s190401
fix a mistake
parents
23d7e489
2c486074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
e2e_node_suite_test.go
test/e2e_node/e2e_node_suite_test.go
+1
-1
No files found.
test/e2e_node/e2e_node_suite_test.go
View file @
4d6e2fce
...
...
@@ -277,7 +277,7 @@ func getNode(c *clientset.Clientset) (*v1.Node, error) {
if
nodes
==
nil
{
return
nil
,
fmt
.
Errorf
(
"the node list is nil."
)
}
Expect
(
len
(
nodes
.
Items
)
>
1
)
.
NotTo
(
BeTrue
(),
"
should not be more than 1 nodes
."
)
Expect
(
len
(
nodes
.
Items
)
>
1
)
.
NotTo
(
BeTrue
(),
"
the number of nodes is more than 1
."
)
if
len
(
nodes
.
Items
)
==
0
{
return
nil
,
fmt
.
Errorf
(
"empty node list: %+v"
,
nodes
)
}
...
...
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