Skip to content

fix: fix the wrong error return value#2049

Open
tiaoxizhan wants to merge 1 commit intocodenotary:masterfrom
tiaoxizhan:master
Open

fix: fix the wrong error return value#2049
tiaoxizhan wants to merge 1 commit intocodenotary:masterfrom
tiaoxizhan:master

Conversation

@tiaoxizhan
Copy link

Since we have already checked err == nil , so err must be nil here. In fact, it should return ctx.Err().

Signed-off-by: tiaoxizhan <tiaoxizhan@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant