mirror of
https://github.com/pgsty/minio.git
synced 2026-07-25 23:16:16 +03:00
Migrate golanglint-ci config to V2 (#21081)
This commit is contained in:
@@ -293,7 +293,7 @@ func (target *RedisTarget) initRedis() error {
|
||||
|
||||
_, pingErr := conn.Do("PING")
|
||||
if pingErr != nil {
|
||||
if !(xnet.IsConnRefusedErr(pingErr) || xnet.IsConnResetErr(pingErr)) {
|
||||
if !xnet.IsConnRefusedErr(pingErr) && !xnet.IsConnResetErr(pingErr) {
|
||||
target.loggerOnce(context.Background(), pingErr, target.ID().String())
|
||||
}
|
||||
return pingErr
|
||||
|
||||
Reference in New Issue
Block a user