From ca614af0d46316fcac798480a06ef6a61ad21f81 Mon Sep 17 00:00:00 2001 From: DavHau Date: Thu, 19 Dec 2024 17:39:02 +0700 Subject: [PATCH] vars/fix: mention machine in error message for fix --- pkgs/clan-cli/clan_cli/vars/secret_modules/sops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/vars/secret_modules/sops.py b/pkgs/clan-cli/clan_cli/vars/secret_modules/sops.py index 5b1b8182f..7ad782e9d 100644 --- a/pkgs/clan-cli/clan_cli/vars/secret_modules/sops.py +++ b/pkgs/clan-cli/clan_cli/vars/secret_modules/sops.py @@ -127,7 +127,7 @@ class SecretStore(StoreBase): if outdated: msg = ( "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" "\n".join(o[2] for o in outdated if o[2]) )