This commit is contained in:
2025-12-23 22:06:24 +01:00
parent 4e610eea32
commit bc69ff6223

View File

@@ -13,7 +13,7 @@ import json
import argparse import argparse
import hvac import hvac
from tabulate import tabulate from tabulate import tabulate
from port import PortainerApi import port
from prompt_toolkit import prompt from prompt_toolkit import prompt
from prompt_toolkit.completion import WordCompleter from prompt_toolkit.completion import WordCompleter
from prompt_toolkit.shortcuts import checkboxlist_dialog from prompt_toolkit.shortcuts import checkboxlist_dialog
@@ -425,7 +425,7 @@ if __name__ == "__main__":
os.system("cls" if os.name == "nt" else "clear") os.system("cls" if os.name == "nt" else "clear")
# Example: list endpoints # Example: list endpoints
por = PortainerApi(cur_config["PORTAINER_SITE"], args) por = port.PortainerApi(cur_config["PORTAINER_SITE"], args)
por.set_defaults(cur_config) por.set_defaults(cur_config)
if args.debug: if args.debug:
por._debug = True por._debug = True