aci_rest: Ensure we always return a status
parent
05374da9b8
commit
9e2a59885e
|
@ -352,6 +352,7 @@ def main():
|
|||
module.fail_json(msg='Failed to find REST API payload type (neither .xml nor .json).')
|
||||
|
||||
aci = ACIRESTModule(module)
|
||||
aci.result['status'] = -1 # Ensure we always return a status
|
||||
|
||||
# We include the payload as it may be templated
|
||||
payload = content
|
||||
|
|
Loading…
Reference in New Issue