[72] remove header when there are no secrets

pull/1536/head
meisnate12 1 year ago
parent 4e9ae363ca
commit 39bcd0ffc6

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

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

Loading…
Cancel
Save