Container.name strips the leading slash
This commit is contained in:
parent
8291d36eaf
commit
13a30c327a
3 changed files with 9 additions and 9 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue