mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use correct keyword for this function.
This commit is contained in:
parent
26cdddaebf
commit
d9e0a5ed22
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class ReturnData(object):
|
||||||
self.diff = diff
|
self.diff = diff
|
||||||
|
|
||||||
if type(self.result) in [ str, unicode ]:
|
if type(self.result) in [ str, unicode ]:
|
||||||
self.result = utils.parse_json(self.result, from_remote=True, exceptions=False)
|
self.result = utils.parse_json(self.result, from_remote=True, no_exceptions=True)
|
||||||
|
|
||||||
if self.host is None:
|
if self.host is None:
|
||||||
raise Exception("host not set")
|
raise Exception("host not set")
|
||||||
|
|
Loading…
Reference in a new issue