forked from moritz/alakazam
improve output for secret purge command
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user