diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index e4c27797b71..d765ce00c66 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -1129,7 +1129,7 @@ class DockerManager(object): # LOG_DRIVER expected_log_driver = set(self.module.params.get('log_driver') or []) - actual_log_driver = set(container['HostConfig']['LogConfig'] or []) + actual_log_driver = set(container['HostConfig']['LogConfig']['Type'] or []) if actual_log_driver != expected_log_driver: self.reload_reasons.append('log_driver ({0} => {1})'.format(actual_log_driver, expected_log_driver)) differing.append(container)