mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
Remove pointers to labels.Selector and pass normally instead (#1422)
This commit is contained in:
committed by
Miek Gieben
parent
a0ad2ff0af
commit
1e75061aec
@@ -256,7 +256,7 @@ func (k *Kubernetes) initKubeCache(opts dnsControlOpts) (err error) {
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to create Selector for LabelSelector '%s': %q", opts.labelSelector, err)
|
||||
}
|
||||
opts.selector = &selector
|
||||
opts.selector = selector
|
||||
}
|
||||
|
||||
opts.initPodCache = k.podMode == podModeVerified
|
||||
|
||||
Reference in New Issue
Block a user