Fix(cli/vars): log.info; since machine is unbound in this context

This commit is contained in:
Johannes Kirschbauer
2025-05-16 17:49:54 +02:00
parent d7c541c508
commit b941d77cfa

View File

@@ -218,7 +218,7 @@ def generate_facts(
raise ClanError(msg)
if not was_regenerated and len(machines) > 0:
machine.info("All secrets and facts are already up to date")
log.info("All secrets and facts are already up to date")
return was_regenerated