mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 06:36:11 +02:00
Fixed node nil labels map with aws-sd registry
This commit is contained in:
parent
0b370ac6ba
commit
ea9158cbf2
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user