diff --git a/salt/states/dockerng.py b/salt/states/dockerng.py index e8aa8a8d38..c0a2a1f006 100644 --- a/salt/states/dockerng.py +++ b/salt/states/dockerng.py @@ -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: