mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 23:16:01 -03:30
Merge pull request #11230 from no-12/devel
Fix survey update with job_template module
This commit is contained in:
@@ -909,7 +909,7 @@ class ControllerAPIModule(ControllerModule):
|
|||||||
if response['status_code'] == 200:
|
if response['status_code'] == 200:
|
||||||
# compare apples-to-apples, old API data to new API data
|
# compare apples-to-apples, old API data to new API data
|
||||||
# but do so considering the fields given in parameters
|
# but do so considering the fields given in parameters
|
||||||
self.json_output['changed'] = self.objects_could_be_different(existing_item, response['json'], field_set=new_item.keys(), warning=True)
|
self.json_output['changed'] |= self.objects_could_be_different(existing_item, response['json'], field_set=new_item.keys(), warning=True)
|
||||||
elif 'json' in response and '__all__' in response['json']:
|
elif 'json' in response and '__all__' in response['json']:
|
||||||
self.fail_json(msg=response['json']['__all__'])
|
self.fail_json(msg=response['json']['__all__'])
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user