Improve paused test and behavior. (#48056)

(cherry picked from commit 569ec812e7)
pull/48323/head
Felix Fontein 7 years ago committed by Matt Clay
parent 74576470c2
commit 86c8fdfcb4

@ -1845,6 +1845,7 @@ class ContainerManager(DockerBaseClass):
self.fail("Error %s container %s: %s" % (
"pausing" if self.parameters.paused else "unpausing", container.Id, str(exc)
))
container = self._get_container(container.Id)
self.results['changed'] = True
self.results['actions'].append(dict(set_paused=self.parameters.paused))

Loading…
Cancel
Save