From ea9158cbf2e5b3cc2c5f89e3e3f1da6046253443 Mon Sep 17 00:00:00 2001 From: Artem Voronin Date: Wed, 2 Jun 2021 18:47:20 +0300 Subject: [PATCH] Fixed node nil labels map with aws-sd registry --- source/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/source/node.go b/source/node.go index 0ac6ea493..31f330043 100644 --- a/source/node.go +++ b/source/node.go @@ -151,6 +151,7 @@ func (ns *nodeSource) Endpoints(ctx context.Context) ([]*endpoint.Endpoint, erro } ep.Targets = endpoint.Targets(addrs) + ep.Labels = endpoint.NewLabels() log.Debugf("adding endpoint %s", ep) if _, ok := endpoints[ep.DNSName]; ok {