Skip to content

Commit

Permalink
修复心跳上报写redis异常时未将异常结果返回问题 (polarismesh#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
qnnn authored Aug 4, 2023
1 parent aff259c commit e51daba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/healthchecker/redis/checker_redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ func (r *RedisHealthChecker) Report(ctx context.Context, request *plugin.ReportR
if resp.Err != nil {
log.Errorf("[Health Check][RedisCheck]addr:%s:%d, id:%s, set redis err:%s",
request.Host, request.Port, request.InstanceId, resp.Err)
return resp.Err
}
return nil
}
Expand Down

0 comments on commit e51daba

Please sign in to comment.