Commit d97b257f authored by Chris O'Haver's avatar Chris O'Haver Committed by Miek Gieben

dont log error for non existant txt records (#2291)

parent cc82915f
...@@ -100,7 +100,7 @@ func (k *Kubernetes) Services(state request.Request, exact bool, opt plugin.Opti ...@@ -100,7 +100,7 @@ func (k *Kubernetes) Services(state request.Request, exact bool, opt plugin.Opti
segs := dns.SplitDomainName(t) segs := dns.SplitDomainName(t)
if len(segs) != 1 { if len(segs) != 1 {
return nil, fmt.Errorf("kubernetes: TXT query can only be for dns-version: %s", state.QName()) return nil, nil
} }
if segs[0] != "dns-version" { if segs[0] != "dns-version" {
return nil, nil return nil, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment