diff options
author | Daniel Nephin <dnephin@docker.com> | 2016-02-08 12:18:48 -0500 |
---|---|---|
committer | Daniel Nephin <dnephin@docker.com> | 2016-02-08 12:18:48 -0500 |
commit | 421981e7d26bd5a5558d1bfdc8079749b15bb7bf (patch) | |
tree | 8fc1a7f1625f9e1060579100253c112477dcbd5b /compose/container.py | |
parent | 28e652daec11aca600c1e26251c42565fe9f5fa2 (diff) |
Use 12 characters for the short id to match docker and fix backwards compatibility.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Diffstat (limited to 'compose/container.py')
-rw-r--r-- | compose/container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compose/container.py b/compose/container.py index 2565c8ff..3a1ce0b9 100644 --- a/compose/container.py +++ b/compose/container.py @@ -60,7 +60,7 @@ class Container(object): @property def short_id(self): - return self.id[:10] + return self.id[:12] @property def name(self): |