fixed settings test and error typo

This commit is contained in:
Gani Georgiev
2024-11-11 14:25:21 +02:00
parent 5e6d4d2126
commit fc133d8665
2 changed files with 2 additions and 2 deletions

View File

@@ -633,7 +633,7 @@ func checkUniqueRuleLabel(value any) error {
if conflicts {
return validation.Errors{
strconv.Itoa(i): validation.Errors{
"label": validation.NewError("validation_conflcting_rate_limit_rule", "Rate limit rule configuration with label "+rule.Label+" already exists or conflicts with another rule.").
"label": validation.NewError("validation_conflicting_rate_limit_rule", "Rate limit rule configuration with label "+rule.Label+" already exists or conflicts with another rule.").
SetParams(map[string]any{"label": rule.Label}),
},
}