commit
c3c8395cef
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class Container(object):
|
||||||
def human_readable_state(self):
|
def human_readable_state(self):
|
||||||
self.inspect_if_not_inspected()
|
self.inspect_if_not_inspected()
|
||||||
if self.dictionary['State']['Running']:
|
if self.dictionary['State']['Running']:
|
||||||
if self.dictionary['State']['Ghost']:
|
if self.dictionary['State'].get('Ghost'):
|
||||||
return 'Ghost'
|
return 'Ghost'
|
||||||
else:
|
else:
|
||||||
return 'Up'
|
return 'Up'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue