3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests: unbreak prometheus test

Commit 271d3f7a43 ("prometheus service: globalConfig.labels is obsolete")
removed globalConfig.labels. Update the test config accordingly.
This commit is contained in:
Bjørn Forsman 2017-10-16 19:36:08 +02:00
parent cd52a3d53c
commit 774d05878a

View file

@ -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 = [{