cmd/dockerd/docker.go
Function newDaemonCommand
has 5 return statements (exceeds 4 allowed). Open
Open
func newDaemonCommand() (*cobra.Command, error) {
// FIXME(thaJeztah): config.New also looks up default binary-path, but this code is also executed when running "--version".
cfg, err := config.New()
if err != nil {
return nil, err