Skip to content

api: rename ConnectionSourceType::LOCAL to SAME_IP_OR_LOOPBACK.#9518

Merged
htuch merged 1 commit intoenvoyproxy:masterfrom
htuch:connection-source-type
Dec 30, 2019
Merged

api: rename ConnectionSourceType::LOCAL to SAME_IP_OR_LOOPBACK.#9518
htuch merged 1 commit intoenvoyproxy:masterfrom
htuch:connection-source-type

Conversation

@htuch
Copy link
Copy Markdown
Member

@htuch htuch commented Dec 29, 2019

Also Utility::isLocalConnection() to Utility::isSameIpOrLoopback(). The
idea is to improve descriptive accuracy, see
#7840 (comment).

Risk level: Low
Testing: additional protoxform golden test added for enum value renames.

Fixes #8081

Signed-off-by: Harvey Tuch htuch@google.com

Also Utility::isLocalConnection() to Utility::isSameIpOrLoopback(). The
idea is to improve descriptive accuracy, see
envoyproxy#7840 (comment).

Risk level: Low
Testing: additional protoxform golden test added for enum value renames.

Fixes envoyproxy#8081

Signed-off-by: Harvey Tuch <htuch@google.com>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/.

🐱

Caused by: #9518 was opened by htuch.

see: more, trace.

@htuch htuch requested review from lizan and mattklein123 December 29, 2019 16:40
@htuch htuch added the api/v3 Major version release @ end of Q3 2019 label Dec 29, 2019
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Nice!

@htuch htuch merged commit 2a9175a into envoyproxy:master Dec 30, 2019
@htuch htuch deleted the connection-source-type branch December 30, 2019 03:57
prakhag1 pushed a commit to prakhag1/envoy that referenced this pull request Jan 3, 2020
…yproxy#9518)

Also Utility::isLocalConnection() to Utility::isSameIpOrLoopback(). The
idea is to improve descriptive accuracy, see
envoyproxy#7840 (comment).

Risk level: Low
Testing: additional protoxform golden test added for enum value renames.

Fixes envoyproxy#8081

Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Prakhar <prakhar_au@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api/v3 Major version release @ end of Q3 2019

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename ConnectionSourceType::LOCAL to SAME_IP_OR_LOOPBACK

3 participants