fix blademaster server log (#290)

pull/295/head
wuxingzhong 5 years ago committed by Felix Hao
parent b6d8968cd3
commit 5a6d1e01b0
  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