Improve assertion messages

This commit is contained in:
SebastianStork 2025-09-22 18:55:41 +02:00
parent 5492e51dd3
commit 86d0cb60d5
3 changed files with 4 additions and 4 deletions

View file

@ -39,11 +39,11 @@ in
assertions = [
{
assertion = tailscaleCfg.enable;
message = "syncthing requires tailscale";
message = "Syncthing requires tailscale.";
}
{
assertion = cfg.doBackups -> cfg.isServer;
message = "syncthing backups can only be performed on a server";
message = "Syncthing backups can only be performed on a server.";
}
];