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