Skip to content

Commit

Permalink
[redis_proxy] added a constraint for route.prefix().size() (#12637)
Browse files Browse the repository at this point in the history
Signed-off-by: jianwen <jianwendong@google.com>
  • Loading branch information
jianwen612 authored Aug 14, 2020
1 parent cf9b494 commit 7852b9d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ message RedisProxy {

// String prefix that must match the beginning of the keys. Envoy will always favor the
// longest match.
string prefix = 1;
string prefix = 1 [(validate.rules).string = {max_bytes: 1000}];

// Indicates if the prefix needs to be removed from the key when forwarded.
bool remove_prefix = 2;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

0 comments on commit 7852b9d

Please sign in to comment.