|
@@ -49,7 +49,7 @@ public class MyScheduler {
|
|
|
public void server() {
|
|
|
try {
|
|
|
List<SystemServerPO> systemServerPOList = new ArrayList<>();
|
|
|
- log.info("server() 服务器列表为:" + hostList);
|
|
|
+ log.info("服务器列表为:" + hostList);
|
|
|
for (Host host : hostList) {
|
|
|
int taskNumber = 0;
|
|
|
SshClient sshClient = SshClient.setUpDefaultClient();
|
|
@@ -94,7 +94,7 @@ public class MyScheduler {
|
|
|
session.close();
|
|
|
sshClient.stop();
|
|
|
}
|
|
|
- log.info("获取服务器信息!" + systemServerPOList);
|
|
|
+ log.info("获取服务器信息。" + systemServerPOList);
|
|
|
systemServerManager.deleteAndInsert(systemServerPOList);
|
|
|
} catch (IOException | DocumentException | InterruptedException e) {
|
|
|
throw new RuntimeException(e);
|