Skip to content

Commit 6106313

Browse files
Update promise-types/ini/ini.py
Co-authored-by: Ole Herman Schumacher Elgesem <4048546+olehermanse@users.noreply.github.com>
1 parent cb64c46 commit 6106313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promise-types/ini/ini.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def evaluate_promise(self, promiser: str, attributes: dict, meta: dict):
8080
try:
8181
d = json.loads(proc.stdout.decode("UTF-8").strip())
8282
if d.get("changed", False):
83-
self.log_info("Ansible INI returned msg: %s" % d.get("msg", ""))
83+
self.log_info("Ansible INI returned msg: %s" % d.get("msg", "empty"))
8484
except Exception as e:
8585
self.log_error(
8686
"Failed to decode the JSON returned from the Ansible INI module. Error: %s"

0 commit comments

Comments
 (0)