From 5875397a3f8e8d11107bfe58bc1347f0eea7f31c Mon Sep 17 00:00:00 2001 From: nikhiljindal Date: Wed, 22 Jun 2016 01:28:02 -0700 Subject: [PATCH] Initialising nodesStore in KubeDNS --- pkg/dns/dns.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/dns/dns.go b/pkg/dns/dns.go index 467c7360174..4cdfc677155 100644 --- a/pkg/dns/dns.go +++ b/pkg/dns/dns.go @@ -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,