Skip to content

Commit b73673c

Browse files
ldezuudashr
authored andcommitted
feat: improve processors filtering stats (golangci#4882)
1 parent 09ff2b7 commit b73673c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/lint/runner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ func (r *Runner) printPerProcessorStat(stat map[string]processorStat) {
208208
parts := make([]string, 0, len(stat))
209209
for name, ps := range stat {
210210
if ps.inCount != 0 {
211-
parts = append(parts, fmt.Sprintf("%s: %d/%d", name, ps.outCount, ps.inCount))
211+
parts = append(parts, fmt.Sprintf("%s: %d/%d", name, ps.inCount, ps.outCount))
212212
}
213213
}
214214
if len(parts) != 0 {
215-
r.Log.Infof("Processors filtering stat (out/in): %s", strings.Join(parts, ", "))
215+
r.Log.Infof("Processors filtering stat (in/out): %s", strings.Join(parts, ", "))
216216
}
217217
}
218218

0 commit comments

Comments
 (0)