fix assert

This commit is contained in:
Henri Dohmen 2025-12-30 16:42:25 +01:00
parent 1053fd0a59
commit 91def25bca
Signed by: hd
GPG key ID: AB79213B044674AE
4 changed files with 17 additions and 4 deletions

View file

@ -6,8 +6,8 @@ let
};
in
assert (
lib.assertMsg (
builtins.attrNames hashes == managed_clients
lib.assertMsg (lib.all (c: lib.elem c (builtins.attrNames hashes))
managed_clients
) "Not all declaratively configured syncthing clients have keys. Rerun ./bin/gen-syncthing-cert"
);
assert (