Merge pull request #4040 from qiluo-msft/qiluo/actual_stdin_open

Fix getting actual_stdin_open
reviewable/pr18780/r1
Chris Houseknecht 8 years ago committed by GitHub
commit 328f047fda

@ -1343,7 +1343,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)

Loading…
Cancel
Save