diff --git a/compose/service.py b/compose/service.py index 5f40a4577..8b22b7d75 100644 --- a/compose/service.py +++ b/compose/service.py @@ -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 = {}