cli/command: explicitly map AuthConfig fields instead of a direct cast #4774
Triggered via pull request
September 29, 2025 10:05
Status
Success
Total duration
1m 55s
Artifacts
–
Annotations
2 errors
|
codeql
cannot use registrytypes.AuthConfig{…} (value of struct type "github.com/moby/moby/api/types/registry".AuthConfig) as "github.com/docker/cli/cli/config/types".AuthConfig value in argument to creds.Store
|
|
codeql:
cli/command/registry/login.go#L272
cannot use registrytypes.AuthConfig{…} (value of struct type "github.com/moby/moby/api/types/registry".AuthConfig) as "github.com/docker/cli/cli/config/types".AuthConfig value in argument to creds.Store
|