api: relax inline_string length limitation in DataSource (#14461)

Signed-off-by: Lizan Zhou <lizan@tetrate.io>

Mirrored from https://github.com/envoyproxy/envoy @ 239013eccc1a57939be938ba69c1e8e8eea61d76
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent 7cd5771160
commit e014b95da4
  1. 4
      envoy/config/core/v3/base.proto
  2. 4
      envoy/config/core/v4alpha/base.proto

@ -331,10 +331,10 @@ message DataSource {
string filename = 1 [(validate.rules).string = {min_len: 1}];
// Bytes inlined in the configuration.
bytes inline_bytes = 2 [(validate.rules).bytes = {min_len: 1}];
bytes inline_bytes = 2;
// String inlined in the configuration.
string inline_string = 3 [(validate.rules).string = {min_len: 1}];
string inline_string = 3;
}
}

@ -329,10 +329,10 @@ message DataSource {
string filename = 1 [(validate.rules).string = {min_len: 1}];
// Bytes inlined in the configuration.
bytes inline_bytes = 2 [(validate.rules).bytes = {min_len: 1}];
bytes inline_bytes = 2;
// String inlined in the configuration.
string inline_string = 3 [(validate.rules).string = {min_len: 1}];
string inline_string = 3;
}
}

Loading…
Cancel
Save