Use modern set notation in _get_aliases

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2016-02-18 15:28:12 -08:00 committed by Daniel Nephin
parent f4a22b94ed
commit 654b3710f7
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,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 = {}