From cf581b76efbf66633e9880c7d92ac677ec10c39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20G=C3=B6drei?= Date: Mon, 23 Sep 2024 10:51:07 +0200 Subject: [PATCH] Update models/selective_triggers.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Olivér Falvai --- models/selective_triggers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/selective_triggers.go b/models/selective_triggers.go index 597c4196..d1d1cdf8 100644 --- a/models/selective_triggers.go +++ b/models/selective_triggers.go @@ -113,7 +113,7 @@ func parsePushTriggers(pushTriggersRaw any) ([]PushGitEventTriggerItem, error) { pushTriggerItemStr := pushTriggerItem.toString() seenIdx, ok := seenPushItems[pushTriggerItemStr] if ok { - return nil, fmt.Errorf("'triggers.push[%d]': duplicates the %d. push trigger item", idx, seenIdx) + return nil, fmt.Errorf("'triggers.push[%d]': duplicates push trigger item #%d", idx, seenIdx) } seenPushItems[pushTriggerItemStr] = idx