diff --git a/awx/api/views.py b/awx/api/views.py index ce60e09aec..494e1b0d83 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -4143,7 +4143,7 @@ class JobRelaunch(RetrieveAPIView): for p in needed_passwords: data['credential_passwords'][p] = u'' else: - data.pop('credential_passwords') + data.pop('credential_passwords', None) return data @csrf_exempt