generated from root/miduo_server
master
parent
72c8eb64cd
commit
564aa21952
|
|
@ -206,7 +206,7 @@ public class ServerInfoController {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除服务器
|
* 迁移服务器
|
||||||
* @param request
|
* @param request
|
||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
|
|
@ -228,6 +228,7 @@ public class ServerInfoController {
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
ServerInfo info = serverMap.get(String.valueOf(serverId+i));
|
ServerInfo info = serverMap.get(String.valueOf(serverId+i));
|
||||||
if (info == null){
|
if (info == null){
|
||||||
|
LOGGER.error("服务器不存在:{}",serverId+i);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
info.setIp(ip);
|
info.setIp(ip);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue