Clearer service name in warning message. Fixes #46

This commit is contained in:
Moritz 2024-01-11 18:39:26 +01:00
parent 0c587ac926
commit e644679b8b

View File

@ -234,7 +234,8 @@ def snapshots():
if no_snapshots: if no_snapshots:
err_msg = "No Snapshots found" err_msg = "No Snapshots found"
if SERVICE: if SERVICE:
err_msg += f' for app {SERVICE}' service_name = SERVICE.replace('_', '.')
err_msg += f' for app {service_name}'
logger.warning(err_msg) logger.warning(err_msg)