双机切换qcloud失败原因:javaRestart方法 if(toCloud="toAws"){ 应该是 if(toCloud=="toAws"){ ,把比较写成了赋值
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -273,7 +273,7 @@ | @@ -273,7 +273,7 @@ | ||
273 | function javaRestart(toCloud){ | 273 | function javaRestart(toCloud){ |
274 | var wait = toWait("正在重启java(目标DC),请耐心等候..."); | 274 | var wait = toWait("正在重启java(目标DC),请耐心等候..."); |
275 | var commond; | 275 | var commond; |
276 | - if(toCloud="toAws"){ | 276 | + if(toCloud=="toAws"){ |
277 | commond="aws"; | 277 | commond="aws"; |
278 | }else{ | 278 | }else{ |
279 | commond="qcloud"; | 279 | commond="qcloud"; |
-
Please register or login to post a comment