mirror of https://github.com/docker/compose.git
Use modern set notation in _get_aliases
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
7152f7ea76
commit
0cb8ba3775
|
@ -516,7 +516,7 @@ class Service(object):
|
|||
if container.labels.get(LABEL_ONE_OFF) == "True":
|
||||
return set()
|
||||
|
||||
return set([self.name, container.short_id])
|
||||
return {self.name, container.short_id}
|
||||
|
||||
def _get_links(self, link_to_self):
|
||||
links = {}
|
||||
|
|
Loading…
Reference in New Issue