Skip to content

Use errors.Join() instead of custom error join func#3653

Merged
ndyakov merged 4 commits intoredis:masterfrom
cxljs:error-join
Jan 12, 2026
Merged

Use errors.Join() instead of custom error join func#3653
ndyakov merged 4 commits intoredis:masterfrom
cxljs:error-join

Conversation

@cxljs
Copy link
Copy Markdown
Contributor

@cxljs cxljs commented Dec 21, 2025

In PR #3442 , a custom error join function is used. After upgrading Go to 1.21, would it be better to revert to using the errors.Join() from the standard library? @ndyakov WDYT?

Signed-off-by: Xiaolong Chen <fukua95@gmail.com>
Copy link
Copy Markdown
Member

@ndyakov ndyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should be fine @cxljs, thank you for noticing it!

cxljs and others added 3 commits December 21, 2025 22:38
@ndyakov ndyakov merged commit 7a57d63 into redis:master Jan 12, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants