From 106bff8552f2e83cac047d745ff24621601b21f8 Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Mon, 6 Jun 2022 21:15:58 +0700 Subject: [PATCH] Fix initialDNSFanoutList Signed-off-by: Artem Glazychev --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index b1ebc24..d8d4434 100644 --- a/main.go +++ b/main.go @@ -363,6 +363,8 @@ func main() { } nseList = registryapi.ReadNetworkServiceEndpointList(nseStream) + initialDNSFanoutList = make([]url.URL, len(nseList)) + for i := 0; i < len(nseList); i++ { subscribedChannels = append(subscribedChannels, make(chan *ipam.PrefixResponse, 1)) }