fix log
This commit is contained in:
parent
873e2dbe55
commit
5cc1fb426b
|
@ -57,8 +57,8 @@ func main() {
|
|||
//初始化redis
|
||||
err = redis.Init(cfg.RedisConfig)
|
||||
if err != nil {
|
||||
fmt.Printf("Redis init fail, path: %v, err: %v", configPath, err)
|
||||
return
|
||||
msg := fmt.Sprintf("Redis init fail, path: %v, err: %v", configPath, err)
|
||||
PrintAndExit(msg)
|
||||
}
|
||||
|
||||
// 初始化服务发现
|
||||
|
|
Loading…
Reference in New Issue