From 7dea729656fe60aefcd81b7c1b808866d3c334a7 Mon Sep 17 00:00:00 2001
From: Eugene Bujak <hmage@hmage.net>
Date: Mon, 8 Oct 2018 20:35:22 +0300
Subject: [PATCH] Fix build failure of coredns plugin introduced by previous
 merge

---
 coredns_plugin/querylog_top.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/coredns_plugin/querylog_top.go b/coredns_plugin/querylog_top.go
index e2bfa53e..7e92a7f5 100644
--- a/coredns_plugin/querylog_top.go
+++ b/coredns_plugin/querylog_top.go
@@ -33,9 +33,9 @@ type hourTop struct {
 }
 
 func (top *hourTop) init() {
-	top.domains = gcache.New(topLRUsize).LRU().Build()
-	top.blocked = gcache.New(topLRUsize).LRU().Build()
-	top.clients = gcache.New(topLRUsize).LRU().Build()
+	top.domains = gcache.New(queryLogTopSize).LRU().Build()
+	top.blocked = gcache.New(queryLogTopSize).LRU().Build()
+	top.clients = gcache.New(queryLogTopSize).LRU().Build()
 }
 
 type dayTop struct {