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

    cli-plugins/manager/cobra.go:55:4: The copy of the 'for' variable "p" can be deleted (Go 1.22+) (copyloopvar)
                p := p
                ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-05 10:14:32 +01:00
..
examples/helloworld cli-plugins: helloworld: rename var that collided with import 2024-01-11 22:25:15 +01:00
hooks plugins/templates: break on newlines when printing hooks 2024-04-15 12:59:53 +01:00
manager cli-plugins/manager: remove redundant capturing of loop vars (copyloopvar) 2024-11-05 10:14:32 +01:00
plugin cli-plugins: RunPlugin(): rename error-variable that's possibly shadowed 2024-07-05 11:01:41 +02:00
socket plugins: don't panic on Close if PluginServer nil 2024-08-07 14:04:31 +01:00