header-to-metadata: rename on_header_present and on_header_missing fields (#12385)

Signed-off-by: Radha Kumari <rkumari@slack-corp.com>

Mirrored from https://github.com/envoyproxy/envoy @ fd4e76f7d13245e9a31b800a6b4387e1e8e43220
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent 48afc8df33
commit cdc626aa4a
  1. 4
      envoy/extensions/filters/http/header_to_metadata/v3/header_to_metadata.proto
  2. 4
      envoy/extensions/filters/http/header_to_metadata/v4alpha/header_to_metadata.proto

@ -109,13 +109,13 @@ message Config {
//
// If the value in the KeyValuePair is non-empty, it'll be used instead
// of the header or cookie value.
KeyValuePair on_header_present = 2;
KeyValuePair on_header_present = 2 [(udpa.annotations.field_migrate).rename = "on_present"];
// If the header or cookie is not present, apply this metadata KeyValuePair.
//
// The value in the KeyValuePair must be set, since it'll be used in lieu
// of the missing header or cookie value.
KeyValuePair on_header_missing = 3;
KeyValuePair on_header_missing = 3 [(udpa.annotations.field_migrate).rename = "on_missing"];
// Whether or not to remove the header after a rule is applied.
//

@ -107,13 +107,13 @@ message Config {
//
// If the value in the KeyValuePair is non-empty, it'll be used instead
// of the header or cookie value.
KeyValuePair on_header_present = 2;
KeyValuePair on_present = 2;
// If the header or cookie is not present, apply this metadata KeyValuePair.
//
// The value in the KeyValuePair must be set, since it'll be used in lieu
// of the missing header or cookie value.
KeyValuePair on_header_missing = 3;
KeyValuePair on_missing = 3;
// Whether or not to remove the header after a rule is applied.
//

Loading…
Cancel
Save