Skip to content

fix(lint): resolve IDENTICAL_BRANCHES issue in broker#2992

Merged
dnwe merged 1 commit intoIBM:mainfrom
frzifus:resolve_linting_issue
Oct 1, 2024
Merged

fix(lint): resolve IDENTICAL_BRANCHES issue in broker#2992
dnwe merged 1 commit intoIBM:mainfrom
frzifus:resolve_linting_issue

Conversation

@frzifus
Copy link
Copy Markdown
Contributor

@frzifus frzifus commented Sep 30, 2024

The same code is executed when the condition "err != nil" is true or false, because the code in the if-then branch and after the if statement is identical.

The same code is executed when the condition "err != nil" is true or false, because the code in the if-then branch and after the if statement is identical.

Signed-off-by: Benedikt Bongartz <[email protected]>
@frzifus frzifus force-pushed the resolve_linting_issue branch from 9a05add to 47400a7 Compare September 30, 2024 09:47
Copy link
Copy Markdown
Collaborator

@puellanivis puellanivis left a comment

Choose a reason for hiding this comment

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

10/10 no notes.

@frzifus
Copy link
Copy Markdown
Contributor Author

frzifus commented Oct 1, 2024

10/10 no notes.

mh?

@frzifus frzifus requested a review from puellanivis October 1, 2024 11:03
@puellanivis
Copy link
Copy Markdown
Collaborator

mh?

I cannot Approve PRs here, but the PR is solid, and clean.

@dnwe dnwe merged commit 8d4b79b into IBM:main Oct 1, 2024
@dnwe dnwe added the chore label Oct 1, 2024
@frzifus frzifus deleted the resolve_linting_issue branch October 1, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants