summaryrefslogtreecommitdiff
path: root/compose/container.py
diff options
context:
space:
mode:
authorDaniel Nephin <dnephin@docker.com>2016-04-05 11:26:23 -0400
committerDaniel Nephin <dnephin@docker.com>2016-04-06 11:14:42 -0400
commitb33d7b3dd88dbadbcd4230e38dc0a5504f9a6297 (patch)
tree162c35331fbb8770e604f77f0ef86193d041474d /compose/container.py
parent86530287d6fdc13e52ffbc3fe2447888ecc6e197 (diff)
Prevent unnecessary inspection of containers when created from an inspect.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Diffstat (limited to 'compose/container.py')
-rw-r--r--compose/container.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/compose/container.py b/compose/container.py
index 6dac9499..2c16863d 100644
--- a/compose/container.py
+++ b/compose/container.py
@@ -39,7 +39,7 @@ class Container(object):
@classmethod
def from_id(cls, client, id):
- return cls(client, client.inspect_container(id))
+ return cls(client, client.inspect_container(id), has_been_inspected=True)
@classmethod
def create(cls, client, **options):