mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
states.dockerio.running(): fix string formatting in error message
************* Module salt.states.dockerio salt/states/dockerio.py:733: [E1305(too-many-format-args), running] Too many arguments for format string
This commit is contained in:
parent
508a8c76f1
commit
acb6fcd8fe
@ -730,7 +730,7 @@ def running(name, container=None, port_bindings=None, binds=None,
|
||||
else:
|
||||
return _invalid(
|
||||
comment=(
|
||||
'Container {0!r} cannot be started\n{0!s}'
|
||||
'Container {0!r} cannot be started\n{1!s}'
|
||||
.format(
|
||||
container,
|
||||
started['out'],
|
||||
|
Loading…
Reference in New Issue
Block a user