mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nixos/prometheus/exporters: use types.port
for port
option
This commit is contained in:
parent
1d73b07d87
commit
d65d9dea2c
@ -64,7 +64,7 @@ let
|
||||
mkExporterOpts = ({ name, port }: {
|
||||
enable = mkEnableOption "the prometheus ${name} exporter";
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = port;
|
||||
description = ''
|
||||
Port to listen on.
|
||||
|
Loading…
Reference in New Issue
Block a user