Skip to content

Commit

Permalink
fixup! fix: add RCODE label to lookupTotal metric
Browse files Browse the repository at this point in the history
  • Loading branch information
clementnuss committed Mar 7, 2023
1 parent 30ce806 commit af24fd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ func main() {
l := logger.Get()

var hosts hosts = strings.Split(*hostsVal, ",")
// if err := hosts.isValid(); err != nil {
// l.Fatalw("parsing hosts failed",
// "val", hostsVal,
// "err", err,
// )
// }
if err := hosts.isValid(); err != nil {
l.Fatalw("parsing hosts failed",
"val", hostsVal,
"err", err,
)
}

dnsServers := parseDNSServers(l, *dnsServersVal)

Expand Down

0 comments on commit af24fd1

Please sign in to comment.