mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-29 12:59: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:
|
if not args.autostart:
|
||||||
time.sleep(120)
|
time.sleep(120)
|
||||||
cont = []
|
cont = []
|
||||||
for c in self.all_data["containers"][endpoint]:
|
for c in self.all_data["containers"][args.endpoint_id]:
|
||||||
if stack == c or stack == "all":
|
if args.stack == c or args.stack == "all":
|
||||||
cont += self.all_data["containers"][endpoint][c]
|
cont += self.all_data["containers"][args.endpoint_id][c]
|
||||||
self.stop_containers(endpoint, cont)
|
self.stop_containers(args.endpoint_id, cont)
|
||||||
|
|
||||||
def get_endpoints(self, timeout=10):
|
def get_endpoints(self, timeout=10):
|
||||||
'''Get a list of all endpoints.'''
|
'''Get a list of all endpoints.'''
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ tabulate
|
|||||||
flake8
|
flake8
|
||||||
pylint
|
pylint
|
||||||
black
|
black
|
||||||
|
docker
|
||||||
Reference in New Issue
Block a user