mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-28 20:39:45 +01:00
build
This commit is contained in:
10
portainer.py
10
portainer.py
@@ -550,7 +550,7 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
por.update_service()
|
por.update_service()
|
||||||
if args.launcher:
|
if args.launcher:
|
||||||
input("Press ENTER to continue...")
|
input("\nPress ENTER to continue...")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.action == "update_containers":
|
if args.action == "update_containers":
|
||||||
@@ -595,7 +595,7 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
print("\n".join(por.get_containers()))
|
print("\n".join(por.get_containers()))
|
||||||
if args.launcher:
|
if args.launcher:
|
||||||
input("Press ENTER to continue...")
|
input("\nPress ENTER to continue...")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.action == "update_stack":
|
if args.action == "update_stack":
|
||||||
@@ -610,13 +610,13 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
por.update_stack(args)
|
por.update_stack(args)
|
||||||
if args.launcher:
|
if args.launcher:
|
||||||
input("Press ENTER to continue...")
|
input("\nPress ENTER to continue...")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.action == "print_all_data":
|
if args.action == "print_all_data":
|
||||||
print(json.dumps(por.all_data, indent=2))
|
print(json.dumps(por.all_data, indent=2))
|
||||||
if args.launcher:
|
if args.launcher:
|
||||||
input("Press ENTER to continue...")
|
input("\nPress ENTER to continue...")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.action == "update_status":
|
if args.action == "update_status":
|
||||||
@@ -631,7 +631,7 @@ if __name__ == "__main__":
|
|||||||
headers = ["EndpointId", "Name"]
|
headers = ["EndpointId", "Name"]
|
||||||
print(tabulate(export_data, headers=headers, tablefmt="github"))
|
print(tabulate(export_data, headers=headers, tablefmt="github"))
|
||||||
if args.launcher:
|
if args.launcher:
|
||||||
input("Press ENTER to continue...")
|
input("\nPress ENTER to continue...")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.action == "stop_containers":
|
if args.action == "stop_containers":
|
||||||
|
|||||||
Reference in New Issue
Block a user