From 774d05878a9c50400cb6556044dd3ae9d833e2d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 16 Oct 2017 19:36:08 +0200 Subject: [PATCH] nixos/tests: unbreak prometheus test Commit 271d3f7a432f ("prometheus service: globalConfig.labels is obsolete") removed globalConfig.labels. Update the test config accordingly. --- nixos/tests/prometheus.nix | 3 --- 1 file changed, 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 = [{