summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-10-16 19:36:08 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-10-16 20:31:49 +0200
commit774d05878a9c50400cb6556044dd3ae9d833e2d7 (patch)
tree9c4151361fd91ed644217b3f540d33b505214e83 /nixos/tests
parentcd52a3d53cd9bd0d23975147c025f9f6b8a58c9f (diff)
downloadnixlib-774d05878a9c50400cb6556044dd3ae9d833e2d7.tar
nixlib-774d05878a9c50400cb6556044dd3ae9d833e2d7.tar.gz
nixlib-774d05878a9c50400cb6556044dd3ae9d833e2d7.tar.bz2
nixlib-774d05878a9c50400cb6556044dd3ae9d833e2d7.tar.lz
nixlib-774d05878a9c50400cb6556044dd3ae9d833e2d7.tar.xz
nixlib-774d05878a9c50400cb6556044dd3ae9d833e2d7.tar.zst
nixlib-774d05878a9c50400cb6556044dd3ae9d833e2d7.zip
nixos/tests: unbreak prometheus test
Commit 271d3f7a432f ("prometheus service: globalConfig.labels is obsolete")
removed globalConfig.labels. Update the test config accordingly.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/prometheus.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/tests/prometheus.nix b/nixos/tests/prometheus.nix
index ade097597bb8..374fb2d634b4 100644
--- a/nixos/tests/prometheus.nix
+++ b/nixos/tests/prometheus.nix
@@ -5,9 +5,6 @@ import ./make-test.nix {
     one = { config, pkgs, ... }: {
       services.prometheus = {
         enable = true;
-        globalConfig = {
-          labels = { foo = "bar"; };
-        };
         scrapeConfigs = [{
           job_name = "prometheus";
           static_configs = [{