Skip to content

Commit a8c658c

Browse files
author
Yago Carlos Fernandez Gou
committed
Address review: adjust range to avoid using index
1 parent b74ab89 commit a8c658c

File tree

1 file changed

+1
-2
lines changed
  • internal/cmd/intake/runner/list

1 file changed

+1
-2
lines changed

internal/cmd/intake/runner/list/list.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ func outputResult(p *print.Printer, outputFormat, projectLabel string, runners [
163163
table := tables.NewTable()
164164

165165
table.SetHeader("ID", "NAME")
166-
for i := range runners {
167-
runner := runners[i]
166+
for _, runner := range runners {
168167
table.AddRow(
169168
runner.GetId(),
170169
runner.GetDisplayName(),

0 commit comments

Comments
 (0)