mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
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…
x
Reference in New Issue
Block a user