This commit is contained in:
bryan 2024-11-13 22:59:38 +08:00
parent 5a26f88da7
commit bf3cd9bc27

View File

@ -164,7 +164,7 @@ func NewPool(cfg Config) *redis.Pool {
err = fmt.Errorf(
"master(%s) got by name '%s' is not redis master",
masterAddr, masterName)
logErrLogger.Output(2, err.String())
logErrLogger.Output(2, err.Error())
return nil, err
}