Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
fix go vet fails for go1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kpacha committed Nov 8, 2015
1 parent c3c97da commit f4677ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ func main() {
configPath := flag.String("c", ConfigPath, "path to the config file")
flag.Parse()

cp := config.ConfigParser{*configPath, true}
cp := config.ConfigParser{
Path: *configPath,
AllowDNS: true,
}

conf, err := cp.Parse()
if err != nil {
log.Println("Error parsing config file:", err.Error())
Expand Down

0 comments on commit f4677ec

Please sign in to comment.