pull/290/head
wuxingzhong 5 years ago
parent 265707dec1
commit 443042feee
  1. 2
      pkg/net/http/blademaster/server.go

@ -163,7 +163,7 @@ type injection struct {
func NewServer(conf *ServerConfig) *Engine { func NewServer(conf *ServerConfig) *Engine {
if conf == nil { if conf == nil {
if !flag.Parsed() { if !flag.Parsed() {
fmt.Fprint(os.Stderr, "[blademaster] please call flag.Parse() before Init warden server, some configure may not effect.\n") fmt.Fprint(os.Stderr, "[blademaster] please call flag.Parse() before Init blademaster server, some configure may not effect.\n")
} }
conf = parseDSN(_httpDSN) conf = parseDSN(_httpDSN)
} }

Loading…
Cancel
Save