mirror of https://github.com/docker/compose.git
parent
71533791dd
commit
f430b82b43
|
@ -86,7 +86,10 @@ class Container(object):
|
||||||
@property
|
@property
|
||||||
def human_readable_command(self):
|
def human_readable_command(self):
|
||||||
self.inspect_if_not_inspected()
|
self.inspect_if_not_inspected()
|
||||||
return ' '.join(self.dictionary['Config']['Cmd'])
|
if self.dictionary['Config']['Cmd']:
|
||||||
|
return ' '.join(self.dictionary['Config']['Cmd'])
|
||||||
|
else:
|
||||||
|
return ''
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def environment(self):
|
def environment(self):
|
||||||
|
|
Loading…
Reference in New Issue