summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Athougies <travis@athougies.net>2020-04-28 10:22:03 -0700
committerMatthew Bauer <mjbauer95@gmail.com>2021-02-26 19:39:31 -0600
commit462c6fe4b115804ea4d5bee7103c0f46ff9f9cfb (patch)
treedb2023344dc00a710680b78bbad4d8acda2d4b3e
parentlinux: 5.4.83 -> 5.4.84 (diff)
downloadnixpkgs-462c6fe4b115804ea4d5bee7103c0f46ff9f9cfb.tar.gz
[nixos/prometheus] promTypes.filter.value -> promTypes.filter.values
The new configuration name for this is plural. Currently, attempting to enable ec2 SD results in a `promtool check config` error (cherry picked from commit 8389fb8f169bf770cdadf856030bf698ff0baeec)
-rw-r--r--nixos/modules/services/monitoring/prometheus/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix
index b67f697ca0de..46c3ff3a7ef0 100644
--- a/nixos/modules/services/monitoring/prometheus/default.nix
+++ b/nixos/modules/services/monitoring/prometheus/default.nix
@@ -306,7 +306,7 @@ let
'';
};
- value = mkOption {
+ values = mkOption {
type = types.listOf types.str;
default = [];
description = ''