DockerCLI/cli/internal/oauth/api
Sebastiaan van Stijn 3df40364f6
update go:build tags to use go1.22
commit 4a7b04d412 configured golangci-lint
to use go1.23 semantics, which enabled the copyloopvar linter.

go1.22 now creates a copy of variables when assigned in a loop; make sure we
don't have files that may downgrade semantics to go1.21 in case that also means
disabling that feature; https://go.dev/ref/spec#Go_1.22

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7c80e4f938)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-15 11:10:35 +01:00
..
api.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
api_test.go oauth/api: drain timer channel on each iteration 2024-09-03 13:16:03 +02:00
state.go auth: add support for oauth device-code login 2024-08-16 10:09:38 +01:00