feat(manager): make check status from flink batch
This commit is contained in:
@@ -57,7 +57,15 @@ func (job *ManagedJob) removeSavepointTriggerId() {
|
||||
job.updateState(*job.state)
|
||||
}
|
||||
|
||||
func (job *ManagedJob) setStatus(status JobStatus) {
|
||||
func (job *ManagedJob) SetStatus(status JobStatus) {
|
||||
job.state.Status = status
|
||||
job.updateState(*job.state)
|
||||
}
|
||||
|
||||
func (job *ManagedJob) GetJobId() *string {
|
||||
if job.state != nil && job.state.JobId != nil {
|
||||
return job.state.JobId
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user