fix bug: when stop flow, the end time do not show
This commit is contained in:
parent
9cba0f2e6e
commit
1fe9f009e1
|
@ -63,6 +63,7 @@ object H2Util {
|
|||
val startedStopList = getStartedStop(appId)
|
||||
startedStopList.foreach(stopName => {
|
||||
updateStopState(appId,stopName,StopState.KILLED)
|
||||
updateStopFinishedTime(appId, stopName, new Date().toString)
|
||||
})
|
||||
}
|
||||
//println(updateSql)
|
||||
|
|
|
@ -155,6 +155,7 @@ object API {
|
|||
|
||||
//update db
|
||||
H2Util.updateFlowState(appID, FlowState.KILLED)
|
||||
H2Util.updateFlowFinishedTime(appID, new Date().toString)
|
||||
|
||||
"ok"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue