DockerCLI/cli/command/plugin
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 feat: standardize error for prompt 2024-03-26 14:11:55 +01:00
client_test.go fix: cli prompt termination exit code 2024-03-04 15:26:17 +01:00
cmd.go Update gometalinter 2017-10-26 12:21:02 -04:00
create.go Dockerfile: update mvdan/gofumpt to v0.6.0 2024-03-17 13:48:13 +01:00
create_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
disable.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
disable_test.go cli: improve argument validation output 2024-07-05 03:35:14 +02:00
enable.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
enable_test.go cli: improve argument validation output 2024-07-05 03:35:14 +02:00
formatter.go linting: address assorted issues found by gocritic 2023-11-20 16:02:16 +01: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
install.go Plumb context to API callbacks 2024-05-17 14:39:49 +02:00
install_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 cli/command: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
push.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
remove.go cli/command/plugins: use errors.Join instead of custom cli.Errors 2024-10-19 10:32:54 +02:00
remove_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
set.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
upgrade.go chore: remove backticks and resolve linting issues 2024-04-02 15:54:29 +02:00
upgrade_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00