From b63195817a6a610d3dfc2d65d1fcf89f5d0b34f4 Mon Sep 17 00:00:00 2001 From: tpetr Date: Mon, 22 Oct 2018 13:01:46 -0400 Subject: [PATCH] forgot one thing --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 7568b23..36b37a5 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,6 @@ package main import ( "bytes" - "flag" "fmt" "github.com/miekg/dns" "github.com/sirupsen/logrus" @@ -58,7 +57,7 @@ func main() { httpClient := http.Client{Timeout: httpTimeout} rand.Seed(time.Now().UTC().UnixNano()) - upstreams := flag.Args() + upstreams := pflag.Args() if len(upstreams) == 0 { rootLogger.Fatal("Must include at least one upstream")