diff --git a/port.py b/port.py index cf1dd36..66f99f3 100644 --- a/port.py +++ b/port.py @@ -745,7 +745,8 @@ class Portainer: print("Getting endpoint") self.get_endpoint(endpoint_id) if stack is not None: - self.get_stack(stack, endpoint_id) + for s in stack: + self.stack_ids = [self._resolve_stack_id(s, endpoint_id)] for stck in self.stack_ids: path = f"/stacks/{stck}/start" if self.endpoint_id is not None: