新增获取磁盘主机的信息
This commit is contained in:
@@ -144,6 +144,7 @@ public class sysController {
|
||||
entity.setHostIp(sshInfo.getHostIp());
|
||||
entity.setPorts(d.getPorts());
|
||||
entity.setGetTime(vDate.getNow());
|
||||
entity.setDokerHostId(dockerHostId);
|
||||
dockerInfoService.save(entity);
|
||||
} else {
|
||||
entity.setContainerId(d.getContainerId());
|
||||
@@ -155,6 +156,7 @@ public class sysController {
|
||||
entity.setHostIp(sshInfo.getHostIp());
|
||||
entity.setPorts(d.getPorts());
|
||||
entity.setGetTime(vDate.getNow());
|
||||
entity.setDokerHostId(dockerHostId);
|
||||
dockerInfoService.updateById(entity);
|
||||
oldMap.remove(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user