Skip to content

Commit

Permalink
feat: siren remove rule namespace restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdh committed Aug 7, 2023
1 parent 7c5410a commit 6e3e637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gotocompany/siren/v1beta1/siren.proto
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ message ListRulesResponse {
message UpdateRuleRequest {
bool enabled = 1;
string group_name = 2 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
string namespace = 3 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
string namespace = 3;
string template = 4 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
repeated Variables variables = 5;
uint64 provider_namespace = 6;
Expand All @@ -803,7 +803,7 @@ message TemplateVariables {
message Template {
uint64 id = 1;
string name = 2 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
string body = 3 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
string body = 3;
repeated string tags = 4 [(validate.rules).repeated.min_items = 1];
google.protobuf.Timestamp created_at = 5;
google.protobuf.Timestamp updated_at = 6;
Expand Down

0 comments on commit 6e3e637

Please sign in to comment.