cosmetic: resolve some linter complaints

This commit is contained in:
Matthias Radestock committed 2015-05-11 02:31:34 +01:00
1 parent ef2c55141b
commit e5a87d1ab1
3 files changed
+22 -22

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ func (mz *mockedZoneWithRecords) LookupName(name string) ([]ZoneRecord, error) {
mz.Lock()
defer mz.Unlock()
mz.NumLookupsName += 1
mz.NumLookupsName++
res := make([]ZoneRecord, 0)
for _, r := range mz.records {
if r.Name() == name {
@@ -49,7 +49,7 @@ func (mz *mockedZoneWithRecords) LookupInaddr(inaddr string) ([]ZoneRecord, erro
mz.Lock()
defer mz.Unlock()
mz.NumLookupsInaddr += 1
mz.NumLookupsInaddr++
res := make([]ZoneRecord, 0)
for _, r := range mz.records {
revIP, err := raddrToIP(inaddr)