diff --git a/pkg/JsonResource.go b/pkg/JsonResource.go index 94e08e7b..68784f79 100644 --- a/pkg/JsonResource.go +++ b/pkg/JsonResource.go @@ -183,7 +183,7 @@ func parseRule(rule *GruleJSON) (string, error) { } if rule.Then == nil { - return "", fmt.Errorf("rule thenn condition cannot be nil") + return "", fmt.Errorf("rule then condition cannot be nil") } var stringBuilder strings.Builder stringBuilder.WriteString("rule ")