summaryrefslogtreecommitdiffstats
path: root/nixos/tests
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2016-12-20 23:17:46 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-12-20 23:26:51 +0100
commit3fb785b0ad6902d765601e489e5f695411d2752f (patch)
treedf9482cafa193744ab7c3dd37731e585971e1cb1 /nixos/tests
parent06cfff71dd104d06470375619ebc364a6fc61caa (diff)
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.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/prometheus.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/prometheus.nix b/nixos/tests/prometheus.nix
index 7605227100d2..ade097597bb8 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"; };
}];