Remove pointers to labels.Selector and pass normally instead (#1422)
This commit is contained in:
parent
a0ad2ff0af
commit
1e75061aec
2 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue