mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-29 04:49:44 +01:00
build
This commit is contained in:
8
port.py
8
port.py
@@ -532,10 +532,10 @@ class Portainer:
|
||||
if not args.autostart:
|
||||
time.sleep(120)
|
||||
cont = []
|
||||
for c in self.all_data["containers"][endpoint]:
|
||||
if stack == c or stack == "all":
|
||||
cont += self.all_data["containers"][endpoint][c]
|
||||
self.stop_containers(endpoint, cont)
|
||||
for c in self.all_data["containers"][args.endpoint_id]:
|
||||
if args.stack == c or args.stack == "all":
|
||||
cont += self.all_data["containers"][args.endpoint_id][c]
|
||||
self.stop_containers(args.endpoint_id, cont)
|
||||
|
||||
def get_endpoints(self, timeout=10):
|
||||
'''Get a list of all endpoints.'''
|
||||
|
||||
Reference in New Issue
Block a user