diff options
| author | Travis Athougies <travis@athougies.net> | 2020-04-28 10:22:03 -0700 |
|---|---|---|
| committer | Matthew Bauer <mjbauer95@gmail.com> | 2021-02-26 19:39:31 -0600 |
| commit | 462c6fe4b115804ea4d5bee7103c0f46ff9f9cfb (patch) | |
| tree | db2023344dc00a710680b78bbad4d8acda2d4b3e | |
| parent | linux: 5.4.83 -> 5.4.84 (diff) | |
| download | nixpkgs-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.nix | 2 |
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 = '' |
