From 2c93312d74e84d386fc0102724634f36bb96e23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 5 Jul 2021 15:09:14 +0300 Subject: [PATCH] Fix indent --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 2155fd2..46e666e 100644 --- a/main.go +++ b/main.go @@ -69,12 +69,12 @@ func query(tp string, name string, m *dns.Msg, coll *mongo.Collection) { log.Fatal(err) } if appendResults(tp, name, m, cur) == 0 { - counterNoResults.Inc() + counterNoResults.Inc() } else { - counterAlternativeNames.Inc() - } + counterAlternativeNames.Inc() + } } else { - counterExactMatches.Inc() + counterExactMatches.Inc() } } @@ -138,7 +138,7 @@ func main() { server := &dns.Server{Addr: ":53", Net: "udp"} go func() { - http.ListenAndServe("127.0.0.1:9001", nil) + http.ListenAndServe("127.0.0.1:9001", nil) }() err2 := server.ListenAndServe() defer server.Shutdown()