From 6b7a12caae35f0f07d601ff193a2a111fc81d9ea Mon Sep 17 00:00:00 2001 From: sg Date: Fri, 11 Oct 2024 19:59:16 +0100 Subject: [PATCH] fix bug 418 typo while checking jira issue count --- pkg/templating/template_description.go | 3 --- 1 file changed, 3 deletions(-) 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 }