prometheus: Use types.port for port

This commit is contained in:
Kirill Elagin 2020-07-23 18:15:57 -04:00
parent ba3c3de8a6
commit 5d2a465add

View File

@ -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.