prometheus: Use types.port for port
This commit is contained in:
parent
ba3c3de8a6
commit
5d2a465add
@ -490,7 +490,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = types.int;
|
type = types.port;
|
||||||
default = 9090;
|
default = 9090;
|
||||||
description = ''
|
description = ''
|
||||||
Port to listen on.
|
Port to listen on.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user