Authored by zhengyouwei

check

... ... @@ -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);
... ...