增加对于服务器镜像判断
parent
42cfad7b90
commit
0c608bc0c9
|
@ -168,8 +168,8 @@ public class HandleCache {
|
|||
log.info("实例状态为停止,不加入列表");
|
||||
continue;
|
||||
}
|
||||
//运行中
|
||||
if (item.getStatus().equals("Running")) {
|
||||
//运行中并且镜像ID相符
|
||||
if (item.getStatus().equals("Running") && item.getImageId().equals("m-8vbfx0e48cekro0f13bx")) {
|
||||
//存入集合
|
||||
gatewayNodeInfos.add(
|
||||
new GatewayNodeInfo(
|
||||
|
|
Loading…
Reference in New Issue