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

[Release-1.5] Use ClusterInfo from streaminfo to get clustername too #189

Merged
merged 1 commit into from
Mar 21, 2020

Conversation

gargnupur
Copy link

Signed-off-by: gargnupur [email protected]

Remove files

Signed-off-by: gargnupur [email protected]

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Signed-off-by: gargnupur <[email protected]>

Remove files

Signed-off-by: gargnupur <[email protected]>
@@ -504,6 +504,9 @@ Context::FindValue(absl::string_view name, Protobuf::Arena* arena) const {
return CelValue::CreateString(&info->upstreamHost()->cluster().name());
} else if (info && info->routeEntry()) {
return CelValue::CreateString(&info->routeEntry()->clusterName());
} else if (info && info->upstreamClusterInfo().has_value() &&

Choose a reason for hiding this comment

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

Maybe make this the first clause since it's going to become the main way?

Copy link
Author

Choose a reason for hiding this comment

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

For 1.6? don't want to add a new thing as main way to 1.5?

@istio-testing istio-testing merged commit ab0b214 into istio:release-1.5 Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants