Skip to content

cli/command: explicitly map AuthConfig fields instead of a direct cast #4774

cli/command: explicitly map AuthConfig fields instead of a direct cast

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

codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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