Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Efficiency #788

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
Update before getting status info
Signed-off-by: Joffrey F <joffrey@docker.com>
shin- committed Sep 24, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 36264349912c3192a7712167b901115a123fbada
1 change: 1 addition & 0 deletions docker/efficiency/containers.py
Original file line number Diff line number Diff line change
@@ -158,6 +158,7 @@ def logs(self, stdout=True, stderr=True, stream=True, timestamps=False,

@property
def status(self):
self._update()
if self.state['Restarting']:
return 'restarting'
if self.state['Paused']: