whoops
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user