Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-service
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhengyouwei
8 years ago
Commit
920c68ae79cc9f1a0cef76e259e72ff888835cda
1 parent
28867320
check
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
monitor-service-switch/src/main/java/com/monitor/switchs/NginxSwitchCtrl.java
monitor-service-switch/src/main/java/com/monitor/switchs/NginxSwitchCtrl.java
View file @
920c68a
...
...
@@ -92,7 +92,7 @@ public class NginxSwitchCtrl {
public
BaseResponse
viewToChangeNginxConf
(
String
cloudName
,
String
target
,
String
ips
,
String
onlineOrGray
,
HttpServletRequest
httpRequest
)
{
//切线上 灰度ips不能为空
if
(
StringUtils
.
isBlank
(
ips
)){
if
(
StringUtils
.
isBlank
(
ips
)
||
"null"
.
equals
(
ips
)
){
List
<
HostInfo
>
hosts
;
if
(
"aws"
.
equals
(
cloudName
))
{
hosts
=
hostInfoMapper
.
selectHostInfosByTagAndCloudType
(
"upstream-switch"
,
1
);
...
...
Please
register
or
login
to post a comment