mirror of
https://github.com/go-kratos/kratos.git
synced 2025-02-03 13:11:42 +02:00
fix blademaster server log (#290)
This commit is contained in:
parent
b6d8968cd3
commit
5a6d1e01b0
@ -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…
x
Reference in New Issue
Block a user