If debug is enabled, show matchers that are not named also #1084

* start the indexing of the matcher names from 1 instead of 0
dev
forgedhallpass 2021-10-08 22:44:40 +03:00
parent fc66195b28
commit 61a8ba80b4
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ func getMatcherName(matcher *matchers.Matcher, matcherIndex int) string {
if matcher.Name != "" { if matcher.Name != "" {
return matcher.Name return matcher.Name
} else { } else {
return matcher.Type + "-" + strconv.Itoa(matcherIndex) return matcher.Type + "-" + strconv.Itoa(matcherIndex+1) // making the index start from 1 to be more readable
} }
} }