diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-12-20 23:17:46 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-12-20 23:26:51 +0100 |
commit | 3fb785b0ad6902d765601e489e5f695411d2752f (patch) | |
tree | df9482cafa193744ab7c3dd37731e585971e1cb1 /nixos/tests/prometheus.nix | |
parent | 06cfff71dd104d06470375619ebc364a6fc61caa (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/prometheus.nix')
-rw-r--r-- | nixos/tests/prometheus.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/prometheus.nix b/nixos/tests/prometheus.nix index 7605227100d20..ade097597bb83 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"; }; }]; |