Skip to content

Commit 84d3fa2

Browse files
authored
Allow usage quota be set to zero #3294
ref #3290
2 parents e6f74f5 + 5f946ba commit 84d3fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/lib/config/feature_usage_limit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var _ = FeatureConfigSchema.Add("UsageLimitConfig", `
77
"properties": {
88
"enabled": { "type": "boolean" },
99
"period": { "$ref": "#/$defs/UsageLimitPeriod" },
10-
"quota": { "type": "integer", "minimum": 1 }
10+
"quota": { "type": "integer", "minimum": 0 }
1111
},
1212
"if": { "properties": { "enabled": { "const": true } }, "required": ["enabled"] },
1313
"then": { "required": ["period", "quota"] }

0 commit comments

Comments
 (0)