Skip to content

Commit d4a1a1e

Browse files
author
Jan Sternagel
committed
clearner loop
1 parent 2bac600 commit d4a1a1e

File tree

1 file changed

+1
-2
lines changed
  • internal/cmd/beta/kms/key/list

1 file changed

+1
-2
lines changed

internal/cmd/beta/kms/key/list/list.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ func outputResult(p *print.Printer, outputFormat, projectId, keyRingId string, k
125125
table := tables.NewTable()
126126
table.SetHeader("ID", "NAME", "SCOPE", "ALGORITHM", "DELETION DATE", "STATUS")
127127

128-
for i := range keys {
129-
key := keys[i]
128+
for _, key := range keys {
130129
table.AddRow(
131130
utils.PtrString(key.Id),
132131
utils.PtrString(key.DisplayName),

0 commit comments

Comments
 (0)