Fix getting actual_stdin_open

This commit is contained in:
Qi Luo 2016-06-24 18:58:21 -07:00 committed by Matt Clay
parent 5fe848fca2
commit b86a229b61

View file

@ -1347,7 +1347,7 @@ class DockerManager(object):
# STDIN_OPEN
expected_stdin_open = self.module.params.get('stdin_open')
actual_stdin_open = container['Config']['AttachStdin']
actual_stdin_open = container['Config']['OpenStdin']
if actual_stdin_open != expected_stdin_open:
self.reload_reasons.append('stdin_open ({0} => {1})'.format(actual_stdin_open, expected_stdin_open))
differing.append(container)