DockerCLI/cli/command/node
Sebastiaan van Stijn 67458f710d
cli/command: remove redundant capturing of loop vars in tests (copyloopvar)
go1.22 and up now produce a unique variable in loops, tehrefore no longer
requiring to capture the variable manually;

    service/logs/parse_logs_test.go:50:3: The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
            tc := tc
            ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-05 10:14:30 +01:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +02:00
cmd.go cli/command: remove some import aliases 2024-06-10 16:59:21 +02:00
demote.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
demote_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
formatter.go replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +02:00
formatter_test.go cli/command: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
inspect.go Update go:build comments to go1.21 2024-06-18 12:17:13 +02:00
inspect_test.go cli/command: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
list.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
list_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
opts.go Add unused linter. 2017-06-14 16:54:27 -07:00
promote.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
promote_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
ps.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
ps_test.go cli/command: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
remove.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
remove_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
update.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
update_test.go cli: improve argument validation output 2024-07-05 03:35:14 +02:00