|
|
@@ -177,8 +177,7 @@ public class AppDeployServiceImpl implements AppDeployService {
|
|
|
for (AppDeployingNode deployingNode : appDeploying.getDeployingNodes()) {
|
|
|
String machineId1 = deployingNode.getDeployConfig().getMachineHost().getMachineId();
|
|
|
if (machineId.equals(machineId1)) {
|
|
|
- int pid = deployingNode.getPid();
|
|
|
- return pid != -1;
|
|
|
+ return deployingNode.getRunning();
|
|
|
}
|
|
|
}
|
|
|
}
|