Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Sep 11, 2024
1 parent d5569d4 commit 0ad259c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto/protovalidate/buf/validate/validate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3367,12 +3367,12 @@ message StringRules {
(priv.field).cel = {
id: "string.ip_prefix"
message: "value must be a valid IP prefix"
expression: "!rules.ip_prefix || ip_prefix || cthis == '' || this.isIpPrefix(true)"
expression: "!rules.ip_prefix || this == '' || this.isIpPrefix(true)"
},
(priv.field).cel = {
id: "string.ip_prefix_empty"
message: "value is empty, which is not a valid IP prefix"
expression: "!rules.ip_prefic || this != ''"
expression: "!rules.ip_prefix || this != ''"
}
];

Expand Down

0 comments on commit 0ad259c

Please sign in to comment.