diff --git a/registry/txt.go b/registry/txt.go index e1f51d8533..917588ef18 100644 --- a/registry/txt.go +++ b/registry/txt.go @@ -99,7 +99,9 @@ func (im *TXTRegistry) Records() ([]*endpoint.Endpoint, error) { for _, ep := range endpoints { if labels, ok := labelMap[ep.DNSName]; ok { - ep.Labels = labels + for k, v := range labels { + ep.Labels[k] = v + } } else { //this indicates that owner could not be identified, as there is no corresponding TXT record ep.Labels = endpoint.NewLabels()