Skip to content

Commit

Permalink
Allow usage quota be set to zero #3294
Browse files Browse the repository at this point in the history
ref #3290
  • Loading branch information
tung2744 authored Aug 7, 2023
2 parents e6f74f5 + 5f946ba commit 84d3fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lib/config/feature_usage_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var _ = FeatureConfigSchema.Add("UsageLimitConfig", `
"properties": {
"enabled": { "type": "boolean" },
"period": { "$ref": "#/$defs/UsageLimitPeriod" },
"quota": { "type": "integer", "minimum": 1 }
"quota": { "type": "integer", "minimum": 0 }
},
"if": { "properties": { "enabled": { "const": true } }, "required": ["enabled"] },
"then": { "required": ["period", "quota"] }
Expand Down

0 comments on commit 84d3fa2

Please sign in to comment.