Make sure we pass extra parameters down to the unified job create method

so we can pick up credential if given
This commit is contained in:
Matthew Jones 2014-11-25 16:47:53 -05:00
parent 08ea3bef25
commit 8718688cf8

View File

@ -1499,7 +1499,7 @@ class JobTemplateLaunch(GenericAPIView):
if validation_errors:
return Response(dict(errors=validation_errors),
status=status.HTTP_400_BAD_REQUEST)
new_job = obj.create_unified_job()
new_job = obj.create_unified_job(**request.DATA)
result = new_job.signal_start(**request.DATA)
if not result:
data = dict(passwords_needed_to_start=obj.passwords_needed_to_start)