forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tools] update schema validator to use MessageUtil (envoyproxy#6834)
Description: Switching to MessageUtils opens up some flexibility such as being able to load JSON or YAML (handled by loadFromFile), is v2-only, and lines up with the test-config conversion work I've been doing elsewhere to eliminate v1 API loading. Risk Level: Low (offline tool) Testing: I don't think this tool has any unit tests, verified manually with a config file. Docs Changes: N/A - The docs actually link to v2 RouteConfiguration, so this technically fixes that... Release Notes: I'm not sure if updating a tool warrants a release note, if so I'll be happy to include one. Signed-off-by: Derek Argueta <dereka@pinterest.com>
- Loading branch information
1 parent
c848204
commit af6e1b6
Showing
3 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters