Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check error in the same line #4581

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Check error in the same line #4581

merged 1 commit into from
Dec 20, 2023

Conversation

yeasy
Copy link
Member

@yeasy yeasy commented Dec 19, 2023

Change-Id: I20200cff6e7ea6f4bc508e13ea96a24d39de74f2

Type of change

  • Improvement (improvement to code, performance, etc)

Description

The patchset follows Go style to check error immediately after calling the method in the same line.

Additional details

N/A

Related issues

N/A

Release Note

N/A

The patchset follows Go style to check error immediately after calling
the method in the same line.

Change-Id: I20200cff6e7ea6f4bc508e13ea96a24d39de74f2
Signed-off-by: Baohua Yang <[email protected]>
Signed-off-by: Baohua Yang <[email protected]>
@yeasy yeasy requested a review from a team as a code owner December 19, 2023 19:04
@denyeart denyeart merged commit 1b21b0b into hyperledger:main Dec 20, 2023
13 checks passed
@yeasy yeasy deleted the check_error branch December 20, 2023 22:29
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.

2 participants