Skip to content

Commit d35a885

Browse files
authored
fix: wrong config validation (#978)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 2a74a5d commit d35a885

File tree

2 files changed

+33
-34
lines changed

2 files changed

+33
-34
lines changed

app/controlplane/internal/conf/controlplane/config/v1/conf.pb.go

Lines changed: 32 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/controlplane/internal/conf/controlplane/config/v1/conf.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ message Auth {
128128
message AllowList {
129129
// allow_list is a list of allowed email addresses or domains
130130
// for example ["@chainloop.dev", "[email protected]"]
131-
repeated string rules = 1 [(buf.validate.field).string.min_len = 1];
131+
repeated string rules = 1;
132132
// Custom message to show when a user is not allowed
133133
string custom_message = 2;
134134
// The list of routes that will be affected by this middleware, by default all of them

0 commit comments

Comments
 (0)