Showing
1 changed file
with
2 additions
and
2 deletions
@@ -368,7 +368,7 @@ function deployLaster(){ | @@ -368,7 +368,7 @@ function deployLaster(){ | ||
368 | 368 | ||
369 | //2:根据实例id获取内网ip地址 | 369 | //2:根据实例id获取内网ip地址 |
370 | function getIpByInstanceIds(instanceIds){ | 370 | function getIpByInstanceIds(instanceIds){ |
371 | - var returnIps; | 371 | + var returnIps = ""; |
372 | var url = '/autoScalingTool/getQcloudDescribeInstances?ids=' + instanceIds; | 372 | var url = '/autoScalingTool/getQcloudDescribeInstances?ids=' + instanceIds; |
373 | $.ajax({ | 373 | $.ajax({ |
374 | url: url, | 374 | url: url, |
@@ -409,7 +409,7 @@ function getIpByInstanceIds(instanceIds){ | @@ -409,7 +409,7 @@ function getIpByInstanceIds(instanceIds){ | ||
409 | 409 | ||
410 | //3:根据ip部署项目,返回部署的消息id,同步获取部署的进展 | 410 | //3:根据ip部署项目,返回部署的消息id,同步获取部署的进展 |
411 | function deployProject(ips){ | 411 | function deployProject(ips){ |
412 | - var returnMessageId; | 412 | + var returnMessageId = ""; |
413 | var url = '/autoScalingTool/deployCloudProject?projectName='+scalingGroupName+'&ips='+ips+'&branch=' + souBranch + '&environment=qcloud'; | 413 | var url = '/autoScalingTool/deployCloudProject?projectName='+scalingGroupName+'&ips='+ips+'&branch=' + souBranch + '&environment=qcloud'; |
414 | $.ajax({ | 414 | $.ajax({ |
415 | url: url, | 415 | url: url, |
-
Please register or login to post a comment