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
0bf96a3c
Commit
0bf96a3c
authored
May 26, 2017
by
guoyunxian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the same case judement
This patch remove the same case judement
parent
99eee154
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
util.go
test/e2e/framework/util.go
+0
-2
No files found.
test/e2e/framework/util.go
View file @
0bf96a3c
...
@@ -590,8 +590,6 @@ func WaitForPodsRunningReady(c clientset.Interface, ns string, minPods, allowedN
...
@@ -590,8 +590,6 @@ func WaitForPodsRunningReady(c clientset.Interface, ns string, minPods, allowedN
case
res
&&
err
==
nil
:
case
res
&&
err
==
nil
:
nOk
++
nOk
++
case
pod
.
Status
.
Phase
==
v1
.
PodSucceeded
:
case
pod
.
Status
.
Phase
==
v1
.
PodSucceeded
:
continue
case
pod
.
Status
.
Phase
==
v1
.
PodSucceeded
:
Logf
(
"The status of Pod %s is Succeeded which is unexpected"
,
pod
.
ObjectMeta
.
Name
)
Logf
(
"The status of Pod %s is Succeeded which is unexpected"
,
pod
.
ObjectMeta
.
Name
)
badPods
=
append
(
badPods
,
pod
)
badPods
=
append
(
badPods
,
pod
)
// it doesn't make sense to wait for this pod
// it doesn't make sense to wait for this pod
...
...
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