diff --git a/pkg/templating/template_description.go b/pkg/templating/template_description.go index 1ba70ef65..98a3a9eb3 100644 --- a/pkg/templating/template_description.go +++ b/pkg/templating/template_description.go @@ -87,9 +87,6 @@ func EnrichedIssueWithSeverityText(severity string) enrichedIssueOption { // EnrichedIssueWithCount allows customising the Enriched Issue's Count. func EnrichedIssueWithCount(count uint) enrichedIssueOption { return func(ei *enrichedIssue) error { - if count <= 0 { - return errors.Errorf("invalid count %d", count) - } ei.Count = count return nil }