This commit is contained in:
Bel LaPointe
2019-02-23 19:04:12 -07:00
parent 2099ae50c6
commit 3961623373
4 changed files with 12 additions and 4 deletions

View File

@@ -2,7 +2,6 @@ package config
import (
"local/rproxy3/storage/packable"
"log"
"strconv"
"strings"
)
@@ -72,7 +71,6 @@ func GetTimeout() int {
conf.Get(nsConf, flagTimeout, t)
timeout, _ := strconv.Atoi(t.String())
log.Printf("TIMEOUT t:%q, i:%v", t.String(), timeout)
return timeout
}

View File

@@ -119,7 +119,6 @@ func fromFlags() error {
for _, bind := range binds {
confFlag := flag.Lookup(bind.flag)
log.Printf("flag:%v", confFlag)
if confFlag == nil || confFlag.Value.String() == "" {
continue
}