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:
Daniel Nephin 2016-02-08 12:18:48 -05:00
commit deeca57a0d
2 changed files with 16 additions and 8 deletions

View file

@ -60,7 +60,7 @@ class Container(object):
@property
def short_id(self):
return self.id[:10]
return self.id[:12]
@property
def name(self):