Skip to content

Commit

Permalink
Update promise-types/ini/ini.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ole Herman Schumacher Elgesem <[email protected]>
  • Loading branch information
oleorhagen and olehermanse authored Feb 20, 2024
1 parent cb64c46 commit 6106313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promise-types/ini/ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def evaluate_promise(self, promiser: str, attributes: dict, meta: dict):
try:
d = json.loads(proc.stdout.decode("UTF-8").strip())
if d.get("changed", False):
self.log_info("Ansible INI returned msg: %s" % d.get("msg", ""))
self.log_info("Ansible INI returned msg: %s" % d.get("msg", "empty"))
except Exception as e:
self.log_error(
"Failed to decode the JSON returned from the Ansible INI module. Error: %s"
Expand Down

0 comments on commit 6106313

Please sign in to comment.