From c5584eea74b25c3421f5fc354036e54ef08b146d Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Fri, 16 Oct 2020 15:34:44 +0200 Subject: [PATCH] Fix error in alertmanager config --- nixos/roles/monitoring/alertmanager.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/roles/monitoring/alertmanager.nix b/nixos/roles/monitoring/alertmanager.nix index c885dc6a..01bccaf6 100644 --- a/nixos/roles/monitoring/alertmanager.nix +++ b/nixos/roles/monitoring/alertmanager.nix @@ -15,11 +15,11 @@ repeat_interval = "168h"; receiver = "alerts"; }; - inhibit_rules = { + inhibit_rules = [{ source_match.alertname = "hydra_miss"; target_match.alertname = "nixpkgs"; equal = [ "name" ]; - }; + }]; receivers = [{ name = "alerts"; webhook_configs = [{