From 4006040cc196464c5a6fc8cdccf2c521dd55a62b Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Fri, 23 Jun 2017 23:52:30 +0000 Subject: [PATCH] Review feedback --- probe/endpoint/dns_snooper_linux_amd64.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/probe/endpoint/dns_snooper_linux_amd64.go b/probe/endpoint/dns_snooper_linux_amd64.go index 3963b60bd..2a9d6be58 100644 --- a/probe/endpoint/dns_snooper_linux_amd64.go +++ b/probe/endpoint/dns_snooper_linux_amd64.go @@ -26,8 +26,7 @@ const ( type DNSSnooper struct { stop chan struct{} pcapHandle *pcap.Handle - // gcache is goroutine-safe, but the - // values cached values aren't + // gcache is goroutine-safe, but the cached values aren't reverseDNSMutex sync.RWMutex reverseDNSCache gcache.Cache decodingErrorCounts map[string]uint64 // for limiting