|
|
@@ -231,7 +231,10 @@ public class AutoMlInsServiceImpl implements AutoMlInsService { |
|
|
@Override |
|
|
@Override |
|
|
public AutoMlIns getDetailById(Long id) { |
|
|
public AutoMlIns getDetailById(Long id) { |
|
|
AutoMlIns autoMlIns = this.autoMlInsDao.queryById(id); |
|
|
AutoMlIns autoMlIns = this.autoMlInsDao.queryById(id); |
|
|
return queryStatusFromArgo(autoMlIns); |
|
|
|
|
|
|
|
|
if(Constant.Running.equals(autoMlIns.getStatus()) || Constant.Pending.equals(autoMlIns.getStatus())){ |
|
|
|
|
|
autoMlIns = queryStatusFromArgo(autoMlIns); |
|
|
|
|
|
} |
|
|
|
|
|
return autoMlIns; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void updateAutoMlStatus(Long autoMlId) { |
|
|
public void updateAutoMlStatus(Long autoMlId) { |
|
|
|