[72] remove header when there are no secrets

This commit is contained in:
meisnate12 2023-07-24 10:23:23 -04:00
parent 4e9ae363ca
commit 39bcd0ffc6
2 changed files with 6 additions and 5 deletions

View file

@ -1 +1 @@
1.19.0-develop71
1.19.0-develop72

View file

@ -292,10 +292,11 @@ def start(attrs):
logger.debug(f"--debug (PMM_DEBUG): {debug}")
logger.debug(f"--trace (PMM_TRACE): {trace}")
logger.debug("")
logger.debug("PMM Secrets Read:")
for sec in secret_args:
logger.debug(f"--pmm-{sec} (PMM_{sec.upper().replace('-', '_')}): (redacted)")
logger.debug("")
if secret_args:
logger.debug("PMM Secrets Read:")
for sec in secret_args:
logger.debug(f"--pmm-{sec} (PMM_{sec.upper().replace('-', '_')}): (redacted)")
logger.debug("")
logger.separator(f"Starting {start_type}Run")
config = None
stats = {"created": 0, "modified": 0, "deleted": 0, "added": 0, "unchanged": 0, "removed": 0, "radarr": 0, "sonarr": 0, "names": []}