Fix getting actual_stdin_open

pull/18777/head
Qi Luo 9 years ago committed by Matt Clay
parent 5fe848fca2
commit b86a229b61

@ -1347,7 +1347,7 @@ class DockerManager(object):
# STDIN_OPEN # STDIN_OPEN
expected_stdin_open = self.module.params.get('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: if actual_stdin_open != expected_stdin_open:
self.reload_reasons.append('stdin_open ({0} => {1})'.format(actual_stdin_open, expected_stdin_open)) self.reload_reasons.append('stdin_open ({0} => {1})'.format(actual_stdin_open, expected_stdin_open))
differing.append(container) differing.append(container)

Loading…
Cancel
Save