workers listeneres go in worker_listeners

This commit is contained in:
Daniel Lovbrotte Olsen 2022-12-14 09:12:35 +01:00
parent 476d66f8b5
commit d900b8f288
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ in
isReplication = l: lib.lists.any (r: lib.lists.any (n: n == "replication") r.names) l.resources;
wRL = lib.lists.findFirst isReplication
(throw "No replication listener configured!")
cfg.workers.instances."auto-event-persist${toString i}".settings.listeners;
cfg.workers.instances."auto-event-persist${toString i}".settings.worker_listeners;
wRH = lib.findFirst (x: true) (throw "Replication listener had no addresses")
wRL.bind_addresses;
wRP = wRL.port;