You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: clean up matcher docs and make it consistent (#39919)
## Description
This PR have some cleanup in metadata matcher proto docs for
consistency. We are using the note annotations and the backticks
inconsistently throughout right now.
---
**Commit Message:** docs: clean up metadata matcher docs and make it
consistent
**Additional Description:** Minor clean up for added clarity on the
metadata matcher docs.
**Risk Level:** N/A
**Testing:** N/A
**Docs Changes:** N/A
**Release Notes:** N/A
---------
Signed-off-by: Rohit Agrawal <[email protected]>
Co-authored-by: phlax <[email protected]>
Mirrored from https://github.com/envoyproxy/envoy @ 70880edde9c916318de0ab986daf9ea4d21a917a
Copy file name to clipboardExpand all lines: envoy/config/common/matcher/v3/matcher.proto
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ message Matcher {
95
95
// A list of predicates to be AND-ed together.
96
96
PredicateListand_matcher=3;
97
97
98
-
// The invert of a predicate
98
+
// The inverse of a predicate
99
99
Predicatenot_matcher=4;
100
100
}
101
101
}
@@ -148,8 +148,8 @@ message Matcher {
148
148
MatcherTreematcher_tree=2;
149
149
}
150
150
151
-
// Optional OnMatch to use if the matcher failed.
152
-
// If specified, the OnMatch is used, and the matcher is considered
151
+
// Optional ``OnMatch`` to use if the matcher failed.
152
+
// If specified, the ``OnMatch`` is used, and the matcher is considered
153
153
// to have matched.
154
154
// If not specified, the matcher is considered not to have matched.
155
155
OnMatchon_no_match=3;
@@ -215,9 +215,9 @@ message HttpHeadersMatch {
215
215
//
216
216
// .. attention::
217
217
//
218
-
// Searching for patterns in HTTP body is potentially cpu intensive. For each specified pattern, http body is scanned byte by byte to find a match.
218
+
// Searching for patterns in HTTP body is potentially CPU-intensive. For each specified pattern, HTTP body is scanned byte by byte to find a match.
219
219
// If multiple patterns are specified, the process is repeated for each pattern. If location of a pattern is known, ``bytes_limit`` should be specified
0 commit comments