Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rainbond
Commits
22f625d7
Commit
22f625d7
authored
4 years ago
by
GLYASAI
Browse files
Options
Download
Email Patches
Plain Diff
live
parent
fad9ffab
main
Develop-V5.X
V5.3
V5.4
feat-containerd
feat-containerd1
feature-helmapp
feature-helmapp-2
feature-k8s
fixbug-560
master
mesh-start
zqhtest-containerd
v5.8.1-release
v5.8.0-release
v5.7.1-release
v5.7.0-release
v5.6.0-release
v5.5.0-release
v5.5.0-dind
v5.4.1-release
v5.4.0-release
v5.3.3-release
v5.3.2-release
v5.3.1-release
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/mesh-data-panel/sidecar.go
+3
-3
cmd/mesh-data-panel/sidecar.go
with
3 additions
and
3 deletions
+3
-3
cmd/mesh-data-panel/sidecar.go
+
3
-
3
View file @
22f625d7
...
...
@@ -221,8 +221,8 @@ func checkEnvoyIfReady(client *http.Client, envoyReadyUrl string) error {
if
err
!=
nil
{
return
err
}
if
resp
.
StatusCode
!=
200
||
string
(
reBody
)
!=
"LIVE"
{
return
fmt
.
Errorf
(
"HTTP status code %
v ,
body: %s"
,
resp
.
StatusCode
,
string
(
reBody
))
if
resp
.
StatusCode
!=
200
||
!
strings
.
Contains
(
string
(
reBody
)
,
"LIVE"
)
{
return
fmt
.
Errorf
(
"HTTP status code %
d,
body: %s"
,
resp
.
StatusCode
,
string
(
reBody
))
}
return
nil
}
...
...
@@ -242,7 +242,7 @@ func checkEnvoyListenerIfReady(client *http.Client, url string, port string) err
return
err
}
if
resp
.
StatusCode
!=
200
||
!
strings
.
Contains
(
string
(
reBody
),
fmt
.
Sprintf
(
":%s"
,
port
))
{
return
fmt
.
Errorf
(
"
C
heck Listeners HTTP status code %v, body is %s"
,
resp
.
StatusCode
,
string
(
reBody
))
return
fmt
.
Errorf
(
"
c
heck Listeners HTTP status code %v, body is %s"
,
resp
.
StatusCode
,
string
(
reBody
))
}
return
nil
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help