Fix error formatting bug. (#448)

This commit is contained in:
Felix Fontein
2022-08-12 13:53:59 +02:00
committed by GitHub
parent 5b76f05bef
commit f513ba2c59
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -246,8 +246,7 @@ def main():
elif isinstance(compose_def, string_types):
compose_files.append(compose_def)
else:
module.fail_json(msg="compose element '%s' must be a " +
"string or a dictionary" % compose_def)
module.fail_json(msg="compose element '%s' must be a string or a dictionary" % compose_def)
before_stack_services = docker_stack_inspect(module, name)