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
51453a31
Unverified
Commit
51453a31
authored
Nov 30, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71576 from MrHohn/e2e-ingress-resp-new
[e2e ingress] actually assign value to resp
parents
06cc355b
4069dc7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ingress.go
test/e2e/network/ingress.go
+2
-1
No files found.
test/e2e/network/ingress.go
View file @
51453a31
...
@@ -1083,7 +1083,8 @@ func detectHttpVersionAndSchemeTest(f *framework.Framework, jig *ingress.Ingress
...
@@ -1083,7 +1083,8 @@ func detectHttpVersionAndSchemeTest(f *framework.Framework, jig *ingress.Ingress
timeoutClient
:=
&
http
.
Client
{
Timeout
:
ingress
.
IngressReqTimeout
}
timeoutClient
:=
&
http
.
Client
{
Timeout
:
ingress
.
IngressReqTimeout
}
resp
:=
""
resp
:=
""
err
:=
wait
.
PollImmediate
(
framework
.
LoadBalancerPollInterval
,
framework
.
LoadBalancerPollTimeout
,
func
()
(
bool
,
error
)
{
err
:=
wait
.
PollImmediate
(
framework
.
LoadBalancerPollInterval
,
framework
.
LoadBalancerPollTimeout
,
func
()
(
bool
,
error
)
{
resp
,
err
:=
framework
.
SimpleGET
(
timeoutClient
,
fmt
.
Sprintf
(
"http://%s"
,
address
),
""
)
var
err
error
resp
,
err
=
framework
.
SimpleGET
(
timeoutClient
,
fmt
.
Sprintf
(
"http://%s"
,
address
),
""
)
if
err
!=
nil
{
if
err
!=
nil
{
framework
.
Logf
(
"SimpleGET failed: %v"
,
err
)
framework
.
Logf
(
"SimpleGET failed: %v"
,
err
)
return
false
,
nil
return
false
,
nil
...
...
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