|
@@ -243,7 +243,7 @@ public class AppDeployServiceImpl implements AppDeployService {
|
|
|
deployNode.setDeployTime(DateTimeConverter.localDateTime(deployResult.getResult().getTimestamp()));
|
|
deployNode.setDeployTime(DateTimeConverter.localDateTime(deployResult.getResult().getTimestamp()));
|
|
|
if (deployResult.getResult().getCode() == ResultStatus.SUCCESS.getCode()) {
|
|
if (deployResult.getResult().getCode() == ResultStatus.SUCCESS.getCode()) {
|
|
|
deployNode.setDeployResult(DeployStatus.deploySuccess.getDesc());
|
|
deployNode.setDeployResult(DeployStatus.deploySuccess.getDesc());
|
|
|
- deployNode.setStatus(deployResult.getStatus());
|
|
|
|
|
|
|
+ deployNode.setRunning(deployResult.getRunning());
|
|
|
deployNode.setStartTime(deployResult.getStartTime());
|
|
deployNode.setStartTime(deployResult.getStartTime());
|
|
|
deployNode.setPid(deployResult.getPid());
|
|
deployNode.setPid(deployResult.getPid());
|
|
|
deployNode.setLastCheck(DateTimeConverter.localDateTime(deployResult.getResult().getTimestamp()));
|
|
deployNode.setLastCheck(DateTimeConverter.localDateTime(deployResult.getResult().getTimestamp()));
|
|
@@ -273,7 +273,7 @@ public class AppDeployServiceImpl implements AppDeployService {
|
|
|
appDeploying.getDeployingNodes().forEach(appDeployingNode -> {
|
|
appDeploying.getDeployingNodes().forEach(appDeployingNode -> {
|
|
|
String machineId1 = appDeployingNode.getDeployConfig().getMachineHost().getMachineId();
|
|
String machineId1 = appDeployingNode.getDeployConfig().getMachineHost().getMachineId();
|
|
|
if (machineId1.equals(machineId)) {
|
|
if (machineId1.equals(machineId)) {
|
|
|
- appDeployingNode.setStatus(statResult.getStatus());
|
|
|
|
|
|
|
+ appDeployingNode.setRunning(statResult.getRunning());
|
|
|
appDeployingNode.setStartTime(statResult.getStartTime());
|
|
appDeployingNode.setStartTime(statResult.getStartTime());
|
|
|
appDeployingNode.setPid(statResult.getPid());
|
|
appDeployingNode.setPid(statResult.getPid());
|
|
|
appDeployingNode.setLastCheck(DateTimeConverter.localDateTime(statResult.getResult().getTimestamp()));
|
|
appDeployingNode.setLastCheck(DateTimeConverter.localDateTime(statResult.getResult().getTimestamp()));
|