增加对于服务器镜像判断

master
xiaoSu 2024-04-21 22:40:21 +08:00
parent 42cfad7b90
commit 0c608bc0c9
1 changed files with 2 additions and 2 deletions

View File

@ -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(