codeql #3
Annotations
10 errors and 1 warning
codeql
cannot use rootCmd.Flags() (value of type *"github.com/laurazard/cli/vendor/github.com/spf13/pflag".FlagSet) as *"github.com/docker/cli/vendor/github.com/spf13/pflag".FlagSet value in argument to opts.InstallFlags
|
codeql
cannot use tcmd.flags (variable of type *"github.com/laurazard/cli/vendor/github.com/spf13/pflag".FlagSet) as *"github.com/docker/cli/vendor/github.com/spf13/pflag".FlagSet value in argument to tcmd.opts.SetDefaultOptions
|
codeql
cannot use cmd (variable of type *"github.com/laurazard/cli/vendor/github.com/spf13/cobra".Command) as *"github.com/docker/cli/vendor/github.com/spf13/cobra".Command value in argument to pluginmanager.IsPluginCommand
|
codeql
cannot use resolver (variable of type func(ctx "context".Context, index *"github.com/laurazard/cli/vendor/github.com/docker/docker/api/types/registry".IndexInfo) "github.com/laurazard/cli/vendor/github.com/docker/docker/api/types/registry".AuthConfig) as "github.com/docker/cli/cli/registry/client".AuthConfigResolver value in argument to registryclient.NewRegistryClient
|
codeql
cannot use client.WithHTTPHeaders(configFile.HTTPHeaders) (value of type "github.com/laurazard/cli/vendor/github.com/docker/docker/client".Opt) as "github.com/docker/cli/vendor/github.com/docker/docker/client".Opt value in argument to append
|
codeql
cannot use client.WithUserAgent(UserAgent()) (value of type "github.com/laurazard/cli/vendor/github.com/docker/docker/client".Opt) as "github.com/docker/cli/vendor/github.com/docker/docker/client".Opt value in argument to append
|
codeql
cannot use opts (variable of type []"github.com/docker/cli/vendor/github.com/docker/docker/client".Opt) as []"github.com/laurazard/cli/vendor/github.com/docker/docker/client".Opt value in argument to client.NewClientWithOpts
|
codeql
cannot use opts.TLSOptions (variable of type *"github.com/docker/cli/vendor/github.com/docker/go-connections/tlsconfig".Options) as *"github.com/laurazard/cli/vendor/github.com/docker/go-connections/tlsconfig".Options value in argument to getServerHost
|
codeql
cannot use trust.GetNotaryRepository(cli.In(), cli.Out(), UserAgent(), imgRefAndAuth.RepoInfo(), imgRefAndAuth.AuthConfig(), actions...) (value of type "github.com/docker/cli/vendor/github.com/theupdateframework/notary/client".Repository) as "github.com/laurazard/cli/vendor/github.com/theupdateframework/notary/client".Repository value in return statement: "github.com/docker/cli/vendor/github.com/theupdateframework/notary/client".Repository does not implement "github.com/laurazard/cli/vendor/github.com/theupdateframework/notary/client".Repository (wrong type for method AddDelegation)
|
codeql
cannot use cli.NoArgs (value of type func(cmd *"github.com/docker/cli/vendor/github.com/spf13/cobra".Command, args []string) error) as "github.com/laurazard/cli/vendor/github.com/spf13/cobra".PositionalArgs value in struct literal
|
codeql
Restore cache failed: Dependencies file is not found in /home/runner/work/cli/cli. Supported file pattern: go.sum
|