From bf3cd9bc27090151d55deb5e7155ff35f473f566 Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 13 Nov 2024 22:59:38 +0800 Subject: [PATCH] fix typo --- sentinel/sentinel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel/sentinel.go b/sentinel/sentinel.go index 70546b3..bb78866 100644 --- a/sentinel/sentinel.go +++ b/sentinel/sentinel.go @@ -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 }