mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Indexes for format statement
This commit is contained in:
parent
56ca9892b1
commit
9454293499
@ -437,7 +437,7 @@ def _compare(actual, create_kwargs, defaults_from_image):
|
||||
if data:
|
||||
keys = ['PathOnHost', 'PathInContainer', 'CgroupPermissions']
|
||||
modified_data = []
|
||||
log.error("data: {}, actual: {}".format(data, actual_data))
|
||||
log.error("data: {0}, actual: {1}".format(data, actual_data))
|
||||
for index, device_info in enumerate(data):
|
||||
data_device_info = dict(list(six.zip(keys, device_info.split(':'))))
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user