Container.name strips the leading slash

This commit is contained in:
Aanand Prasad 2013-12-20 19:33:41 +00:00
commit 13a30c327a
3 changed files with 9 additions and 9 deletions

View file

@ -121,7 +121,7 @@ class Service(object):
links = {}
for service in self.links:
for container in service.containers():
links[container.name[1:]] = container.name[1:]
links[container.name] = container.name
return links
def _get_container_options(self, override_options, one_off=False):