feat(savepoint): create and track for getting savepoint location

This commit is contained in:
2024-11-30 02:11:30 +03:30
parent 3b0aff5688
commit 8f4cb093b1
7 changed files with 66 additions and 22 deletions

View File

@@ -23,10 +23,7 @@ func (job *ManagedJob) checkStatus() error {
}
return err
}
lc.Logger.Debug("[managed-job] [status]", zap.Any("status-resp", statusResp))
job.updateState(jobState{
JobId: job.state.JobId,
Status: JobStatus(statusResp.State),
})
//lc.Logger.Debug("[managed-job] [status]", zap.Any("status-resp", statusResp))
job.setStatus(JobStatus(statusResp.State))
return err
}