improve output for secret purge command

This commit is contained in:
2024-06-17 11:44:45 +02:00
parent fd8ee887e4
commit bf1d65d94f

View File

@ -1253,7 +1253,7 @@ def purge_secrets(apps: List[str], secret:str) -> None:
instance_apps = get_apps(apps)
print_all_apps(instance_apps)
domains = list(zip(*sum(instance_apps.values(), [])))[1]
if input(f"Do you really want to purge the secrets for these apps? Type YES: ") == "YES":
if input(f"Do you really want to purge the secret {secret} for these apps? Type YES: ") == "YES":
for domain in domains:
logging.info(f'purge {domain}')
if not secret: