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