Skip to content

Commit

Permalink
tools: strengthen v2 API package regexes in proto_build_targets_gen.py.
Browse files Browse the repository at this point in the history
Some weak regexes were causing v4alpha protos to end up in the v2 docs
in envoyproxy#10971, this PR fixes.

Signed-off-by: Harvey Tuch <htuch@google.com>
  • Loading branch information
htuch committed Apr 30, 2020
1 parent 1221cce commit 79ea6ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/type_whisperer/proto_build_targets_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
map(re.compile, [
r'envoy[\w\.]*\.(v1alpha\d?|v1)',
r'envoy[\w\.]*\.(v2alpha\d?|v2)',
r'envoy\.type\.matcher',
r'envoy\.type',
r'envoy\.type\.matcher$',
r'envoy\.type$',
r'envoy\.config\.cluster\.redis',
r'envoy\.config\.retry\.previous_priorities',
]))
Expand Down

0 comments on commit 79ea6ef

Please sign in to comment.