From 3fb785b0ad6902d765601e489e5f695411d2752f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Tue, 20 Dec 2016 23:17:46 +0100 Subject: [PATCH] nixos: unbreak prometheus test target_groups was renamed to static_configs in d459916504 ("prometheus service: rename values to match prometheus 1.0 naming."). Catch up. --- nixos/tests/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/prometheus.nix b/nixos/tests/prometheus.nix index 7605227100d..ade097597bb 100644 --- a/nixos/tests/prometheus.nix +++ b/nixos/tests/prometheus.nix @@ -10,7 +10,7 @@ import ./make-test.nix { }; scrapeConfigs = [{ job_name = "prometheus"; - target_groups = [{ + static_configs = [{ targets = [ "127.0.0.1:9090" ]; labels = { instance = "localhost"; }; }];