feat: add rest routes to take the control of flink jobs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package managed_job
|
||||
|
||||
func (job *ManagedJob) Stop() {
|
||||
job.client.StopJob(*job.def.Status.JobId)
|
||||
func (job *ManagedJob) Stop() error {
|
||||
return job.client.StopJob(*job.def.Status.JobId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user