Authored by qinchao

nginx自动伸缩

@@ -353,9 +353,9 @@ public class CloudToolServiceImpl implements CloudToolService { @@ -353,9 +353,9 @@ public class CloudToolServiceImpl implements CloudToolService {
353 353
354 public BaseResponse updateNginxConfig(AutoScalingInfoReq infoReq){ 354 public BaseResponse updateNginxConfig(AutoScalingInfoReq infoReq){
355 BaseResponse response=new BaseResponse(); 355 BaseResponse response=new BaseResponse();
356 - String commond = "ssh master@172.31.16.167 sh /home/master/nginx-sync/update-java-nginx.sh"; 356 + String commond = "ssh master@172.31.16.167 sh /home/master/nginx-sync/update-java-nginx.sh";
357 if(!"java".equalsIgnoreCase(infoReq.getNginxType())){ 357 if(!"java".equalsIgnoreCase(infoReq.getNginxType())){
358 - commond = "ssh master@172.31.16.167 sh /home/master/nginx-sync/update-pch5-nginx.sh"; 358 + commond = "ssh master@172.31.16.167 sh /home/master/nginx-sync/update-pch5-nginx.sh";
359 } 359 }
360 String cloud = "aws"; 360 String cloud = "aws";
361 if(2==infoReq.getCloudType()){ 361 if(2==infoReq.getCloudType()){