Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/prometheus: make scrapeConfigs.*.static_configs.*.labels optional
...by providing a default value of "no labels" (an empty attrset). Without this change we get $ nixos-rebuild test -I nixpkgs=. building Nix... building the system configuration... error: The option `services.prometheus.scrapeConfigs.[definition 1-entry 1].static_configs.[definition 1-entry 1].labels' is used but not defined. which is unneeded, because labels _are_ optional.
- Loading branch information