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

chore(dlb): remove unused isOpen call #27539

Merged
merged 1 commit into from
May 24, 2023
Merged

Conversation

spacewander
Copy link
Contributor

Commit Message: remove unused isOpen call
Additional Description: The call socket->isOpen() is unnecessary as we throw an exception after it
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #27539 was opened by spacewander.

see: more, trace.

@spacewander spacewander force-pushed the chcbi branch 2 times, most recently from e9b2802 to b33cdc7 Compare May 22, 2023 07:46
@wbpcode
Copy link
Member

wbpcode commented May 23, 2023

cc @daixiang0 Hi, could you take a look at this PR when you have free time? Thanks.

#ifdef DLB_DISABLED
socket->isOpen();
Copy link
Member

@daixiang0 daixiang0 May 23, 2023

Choose a reason for hiding this comment

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

Yeah, this line is to make CI happy before, now we can remove it.

Copy link
Member

@daixiang0 daixiang0 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@mattklein123 mattklein123 merged commit 1cb5be9 into envoyproxy:main May 24, 2023
75 checks passed
reskin89 pushed a commit to reskin89/envoy that referenced this pull request Jul 11, 2023
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.

None yet

4 participants