Use port from cfg
This commit is contained in:
parent
4637777e5c
commit
7f5f21dc8a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue