mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
Corrected JobStartCancel Test.
This commit is contained in:
@@ -1642,6 +1642,10 @@ class JobRelaunch(GenericAPIView):
|
|||||||
|
|
||||||
model = Job
|
model = Job
|
||||||
|
|
||||||
|
@transaction.non_atomic_requests
|
||||||
|
def dispatch(self, *args, **kwargs):
|
||||||
|
return super(JobRelaunch, self).dispatch(*args, **kwargs)
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
obj = self.get_object()
|
obj = self.get_object()
|
||||||
data = {}
|
data = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user