Merge pull request #3074 from wwitzel3/release_3.3.1

fix typo in length
This commit is contained in:
Wayne Witzel III 2018-10-17 17:10:41 -04:00 committed by GitHub
commit c8e208dea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4339,7 +4339,7 @@ class JobRelaunch(RetrieveAPIView):
if limit_length > 1024:
return Response({'limit': _(
'Cannot relaunch because the limit length {limit_length} exceeds the max of {limit_max}.'
).format(limit_length=limit_lengh, limit_max=1024)}, status=status.HTTP_400_BAD_REQUEST)
).format(limit_length=limit_length, limit_max=1024)}, status=status.HTTP_400_BAD_REQUEST)
new_job = obj.copy_unified_job(**copy_kwargs)
result = new_job.signal_start(**serializer.validated_data['credential_passwords'])