修改智算应用状态映射
This commit is contained in:
parent
c8a4b3edb8
commit
57d1282751
|
|
@ -127,6 +127,10 @@ public class ZSServiceVersionServiceImpl implements ServiceVersionService {
|
||||||
|
|
||||||
Map<String, Object> statusData = (Map<String, Object>) statusResponse.get("data");
|
Map<String, Object> statusData = (Map<String, Object>) statusResponse.get("data");
|
||||||
String status = (String) statusData.get("status");
|
String status = (String) statusData.get("status");
|
||||||
|
if ("WAITING".equals(status) || "PENDING".equals(status) || "DEPLOYING".equals(status)) {
|
||||||
|
status = "Init";
|
||||||
|
}
|
||||||
|
|
||||||
String jobSetId = (String) statusData.get("job_set_id");
|
String jobSetId = (String) statusData.get("job_set_id");
|
||||||
Map<String, Object> result = (Map<String, Object>) statusData.get("result");
|
Map<String, Object> result = (Map<String, Object>) statusData.get("result");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue