feat(managed-job): add restore from failed state
This commit is contained in:
@@ -45,7 +45,7 @@ func (job *ManagedJob) setError(errMsg string) {
|
||||
}
|
||||
|
||||
func (job *ManagedJob) setSavepointLocation(savepointId string) {
|
||||
job.state.LastSavepointLocation = &savepointId
|
||||
job.state.LastSavepointPath = &savepointId
|
||||
job.state.SavepointTriggerId = nil
|
||||
n := time.Now()
|
||||
job.state.LastSavepointDate = &n
|
||||
|
||||
Reference in New Issue
Block a user