Change returned job start id to system_job in the system job template

launch return data
This commit is contained in:
Matthew Jones 2014-10-30 10:51:22 -04:00
parent 7699faae28
commit 202b511f55

View File

@ -1743,7 +1743,7 @@ class SystemJobTemplateLaunch(GenericAPIView):
raise PermissionDenied()
new_job = obj.create_unified_job()
result = new_job.signal_start()
data = dict(job=new_job.id)
data = dict(system_job=new_job.id)
return Response(data, status=status.HTTP_202_ACCEPTED)
class SystemJobTemplateSchedulesList(SubListCreateAPIView):