update tests and survey change status

This commit is contained in:
sean-m-ssullivan
2021-04-27 19:32:21 -05:00
parent acb6e3e6e9
commit c22c0a393c
2 changed files with 119 additions and 1 deletions

View File

@@ -809,7 +809,7 @@ def main():
existing_spec = None
if existing_item:
spec_endpoint = existing_item.get('related', {}).get('survey_spec')
existing_spec = module.get_endpoint(spec_endpoint)
existing_spec = module.get_endpoint(spec_endpoint)['json']
if new_spec != existing_spec:
module.json_output['changed'] = True
if existing_item and module.has_encrypted_values(existing_spec):