From b1f5c3d0c745e4b1f1eb69b715c16ff2e87b49a9 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Mon, 21 May 2018 19:04:43 +0000 Subject: [PATCH] docs: add missing deprecation docs (#3449) Signed-off-by: Matt Klein Mirrored from https://github.com/envoyproxy/envoy @ 9db02a9c37a13f56d24ae10fc8e7e47539d47bf4 --- envoy/api/v2/route/route.proto | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/envoy/api/v2/route/route.proto b/envoy/api/v2/route/route.proto index caa77eee..1b29a2dc 100644 --- a/envoy/api/v2/route/route.proto +++ b/envoy/api/v2/route/route.proto @@ -873,7 +873,10 @@ message HeaderMatcher { // Specifies the value of the header. If the value is absent a request that // has the name header will match, regardless of the header’s value. - string value = 2; + // + // .. attention:: + // Deprecated. Use :ref:`exact_match ` instead. + string value = 2 [deprecated = true]; // Specifies whether the header value is a regular // expression or not. Defaults to false. The entire request header value must match the regex. The @@ -886,7 +889,10 @@ message HeaderMatcher { // * The regex *\d{3}* matches the value *123* // * The regex *\d{3}* does not match the value *1234* // * The regex *\d{3}* does not match the value *123.456* - google.protobuf.BoolValue regex = 3; + // + // .. attention:: + // Deprecated. Use :ref:`regex_match ` instead. + google.protobuf.BoolValue regex = 3 [deprecated = true]; // Specifies how the header match will be performed to route the request. // If header_match_specifier is absent, a request that has the