Skip to content

Commit

Permalink
forgot one thing
Browse files Browse the repository at this point in the history
  • Loading branch information
tpetr committed Oct 22, 2018
1 parent d26f62e commit b631958
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"bytes"
"flag"
"fmt"
"github.com/miekg/dns"
"github.com/sirupsen/logrus"
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit b631958

Please sign in to comment.