fix: resolve job start after pause bug
This commit is contained in:
parent
5066dc650f
commit
322877ad8e
@ -33,7 +33,7 @@ func (job *ManagedJob) Pause() error {
|
||||
if savepointPath != "" {
|
||||
job.def.Status.LastSavepointPath = &savepointPath
|
||||
job.def.Status.PauseSavepointTriggerId = nil
|
||||
job.def.Status.JobStatus = ""
|
||||
job.def.Status.JobStatus = "FINISHED"
|
||||
job.def.Status.LastSavepointPath = &savepointPath
|
||||
lastSavepointDate := time.Now()
|
||||
job.def.Status.LastSavepointDate = &lastSavepointDate
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user