Remove pointers to labels.Selector and pass normally instead (#1422)

This commit is contained in:
Ilya Galimyanov 2018-01-24 23:44:18 +03:00 committed by Miek Gieben
parent a0ad2ff0af
commit 1e75061aec
2 changed files with 15 additions and 15 deletions

View file

@ -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