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

Directly check the return error #4578

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Directly check the return error #4578

merged 1 commit into from
Dec 18, 2023

Conversation

yeasy
Copy link
Member

@yeasy yeasy commented Dec 15, 2023

Change-Id: I1138688b89200c6bcb0b18f854c46f03815ad15d

Type of change

  • Improvement (improvement to code, performance, etc)

Description

The patchset simplifies the code by directly checking the return error,
which follows the Go style.

Additional details

N/A

Related issues

N/A

Release Note

N/A

The patchset simplifies the code by directly checking the return error,
    which follows the Go style.

Change-Id: I1138688b89200c6bcb0b18f854c46f03815ad15d
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 15, 2023 22:41
@denyeart denyeart merged commit a928a72 into hyperledger:main Dec 18, 2023
@yeasy yeasy deleted the direct_check branch December 18, 2023 18:42
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