Use 12 characters for the short id to match docker and fix backwards compatibility.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
28e652daec
commit
421981e7d2
2 changed files with 16 additions and 8 deletions
|
|
@ -60,7 +60,7 @@ class Container(object):
|
|||
|
||||
@property
|
||||
def short_id(self):
|
||||
return self.id[:10]
|
||||
return self.id[:12]
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue