DockerCLI/cli/config
Sebastiaan van Stijn 20de861134
cli/config: 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
..
configfile test spring-cleaning 2024-07-04 01:35:12 +02:00
credentials cli/config: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
types Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
config.go cli/config: improve error when failing to parse config file 2024-10-21 18:26:02 +02:00
config_test.go cli/config: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00