diff options
-rw-r--r-- | cloud/docker/docker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index c2a0f209..2d6e669d 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -954,7 +954,7 @@ class DockerManager(object): # MEM_LIMIT expected_mem = _human_to_bytes(self.module.params.get('memory_limit')) - actual_mem = container['Config']['Memory'] + actual_mem = container['HostConfig']['Memory'] if expected_mem and actual_mem != expected_mem: self.reload_reasons.append('memory ({0} => {1})'.format(actual_mem, expected_mem)) |