Merge pull request 'vars/fix: mention machine in error message for fix' (#2635) from DavHau/clan-core:DavHau-dave into main

This commit is contained in:
clan-bot
2024-12-19 10:45:45 +00:00

View File

@@ -127,7 +127,7 @@ class SecretStore(StoreBase):
if outdated: if outdated:
msg = ( msg = (
"The local state of some secret vars is inconsistent and needs to be updated.\n" "The local state of some secret vars is inconsistent and needs to be updated.\n"
"Run 'clan vars fix' to apply the necessary changes." f"Run 'clan vars fix {self.machine.name}' to apply the necessary changes."
"Problems to fix:\n" "Problems to fix:\n"
"\n".join(o[2] for o in outdated if o[2]) "\n".join(o[2] for o in outdated if o[2])
) )