Use port from cfg

This commit is contained in:
daragh 2024-05-21 07:34:28 +01:00
parent 4637777e5c
commit 7f5f21dc8a
No known key found for this signature in database

View file

@ -56,7 +56,7 @@ in {
job_name = "node_exporter";
static_configs = [
{
targets = map (server: "${server}.skynet.ie:9002") cfg.servers;
targets = map (server: "${server}.skynet.ie:{collecter_port}") cfg.servers;
}
];
}