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

add cluster destination address validation #2184

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

hahn-kev
Copy link
Contributor

closes #2175

This PR adds validation that the destination address in a cluster config is not null or empty. It's possible that the destination property of the cluster is null or empty, I decided not to validate that because it was not clear if that should be considered valid. I chose to not report that as an error. If it should be an error, then all the Validation unit tests would need to be updated as they currently expect null destinations to not produce an error.

@adityamandaleeka
Copy link
Member

Thanks @hahn-kev!

@adityamandaleeka adityamandaleeka merged commit 156d8cc into microsoft:main Jul 11, 2023
@MihaZupan MihaZupan added this to the YARP 2.x milestone Oct 3, 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.

Cluster config validation does not error on a null destination address
3 participants