Initialising nodesStore in KubeDNS

This commit is contained in:
nikhiljindal 2016-06-22 01:28:02 -07:00
parent 62ce66988c
commit 5875397a3f

View File

@ -125,6 +125,7 @@ func NewKubeDNS(client clientset.Interface, domain string, federations map[strin
domain: domain,
cache: NewTreeCache(),
cacheLock: sync.RWMutex{},
nodesStore: kcache.NewStore(kcache.MetaNamespaceKeyFunc),
reverseRecordMap: make(map[string]*skymsg.Service),
domainPath: reverseArray(strings.Split(strings.TrimRight(domain, "."), ".")),
federations: federations,