mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/prometheus: add missing dns_sd_configs types
From https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config: > The type of DNS query to perform. One of SRV, A, AAAA, MX or NS. I also simplified the doc string as it's redundant with the generated docs.
This commit is contained in:
parent
d6c5b1e1d4
commit
c263be1dee
1 changed files with 2 additions and 2 deletions
|
@ -718,8 +718,8 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" ]) "SRV" ''
|
||||
The type of DNS query to perform. One of SRV, A, or AAAA.
|
||||
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" "MX" "NS" ]) "SRV" ''
|
||||
The type of DNS query to perform.
|
||||
'';
|
||||
|
||||
port = mkOpt types.port ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue