vendor: github.com/moby/moby/api v1.52.0-beta.1, client v0.1.0-beta.0 #4550
Annotations
6 errors
|
codeql
cannot use apiClient (variable of type *"github.com/moby/moby/client".Client) as *"github.com/moby/moby/client".clientConfig value in argument to client.WithHTTPHeaders(env)
|
|
codeql
cannot use (func(apiClient *client.Client) error literal) (value of type func(apiClient *"github.com/moby/moby/client".Client) error) as "github.com/moby/moby/client".Opt value in return statement
|
|
codeql
cannot use c (variable of type *client.Client) as *client.clientConfig value in argument to client.WithHTTPClient(&http.Client{…})
|
|
codeql
cannot use withHTTPClient(tlsConfig) (value of type func(*client.Client) error) as client.Opt value in argument to append
|
|
codeql:
cli/context/docker/load.go#L152
cannot use c (variable of type *client.Client) as *client.clientConfig value in argument to client.WithHTTPClient(&http.Client{…})
|
|
codeql:
cli/context/docker/load.go#L105
cannot use withHTTPClient(tlsConfig) (value of type func(*client.Client) error) as client.Opt value in argument to append
|