mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
@@ -177,7 +177,7 @@ func svcNameNamespaceIndexFunc(obj interface{}) ([]string, error) {
|
|||||||
if !ok {
|
if !ok {
|
||||||
return nil, errors.New("obj was not an *api.Service")
|
return nil, errors.New("obj was not an *api.Service")
|
||||||
}
|
}
|
||||||
return []string{s.ObjectMeta.Name + "." + s.ObjectMeta.Namespace}, nil
|
return []string{s.ObjectMeta.Name, ".", s.ObjectMeta.Namespace}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func epNameNamespaceIndexFunc(obj interface{}) ([]string, error) {
|
func epNameNamespaceIndexFunc(obj interface{}) ([]string, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user