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
73de6f40
Commit
73de6f40
authored
Aug 16, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Aug 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #30685 from gmarek/leak
Automatic merge from submit-queue Fix resource leak check in case of run that cleans up after failed one @fejta Broken by #28575
parents
5c1d7a7d
5e421cc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
e2e.go
hack/e2e.go
+2
-1
No files found.
hack/e2e.go
View file @
73de6f40
...
@@ -233,10 +233,11 @@ func DiffResources(before, clusterUp, after, location string) {
...
@@ -233,10 +233,11 @@ func DiffResources(before, clusterUp, after, location string) {
if
len
(
lines
)
<
3
{
// Ignore the +++ and --- header lines
if
len
(
lines
)
<
3
{
// Ignore the +++ and --- header lines
return
return
}
}
lines
=
lines
[
2
:
]
var
added
[]
string
var
added
[]
string
for
_
,
l
:=
range
lines
{
for
_
,
l
:=
range
lines
{
if
strings
.
HasPrefix
(
l
,
"+"
)
{
if
strings
.
HasPrefix
(
l
,
"+"
)
&&
len
(
strings
.
TrimPrefix
(
l
,
"+"
))
>
0
{
added
=
append
(
added
,
l
)
added
=
append
(
added
,
l
)
}
}
}
}
...
...
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