not call abort method
This commit is contained in:
parent
84f436817b
commit
57750c56d1
@ -85,7 +85,6 @@ def abort(request, deployment_id):
|
|||||||
|
|
||||||
res = AbortableAsyncResult(str(deployment.task_id))
|
res = AbortableAsyncResult(str(deployment.task_id))
|
||||||
progress = res.info.get("progress", 0)
|
progress = res.info.get("progress", 0)
|
||||||
res.abort()
|
|
||||||
res.revoke(terminate=True)
|
res.revoke(terminate=True)
|
||||||
|
|
||||||
deployment.status = Status.FAILED.name
|
deployment.status = Status.FAILED.name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user