fix assert
This commit is contained in:
parent
1053fd0a59
commit
91def25bca
4 changed files with 17 additions and 4 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue