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
parent 7152f7ea76
commit 0cb8ba3775
1 changed files with 1 additions and 1 deletions

View File

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