mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #7422 from ghodss/more-verbose-error-msg
Add error message to log of docker error
This commit is contained in:
commit
180df8e4e1
@ -272,7 +272,7 @@ func ConnectToDockerOrDie(dockerEndpoint string) DockerInterface {
|
||||
}
|
||||
client, err := docker.NewClient(getDockerEndpoint(dockerEndpoint))
|
||||
if err != nil {
|
||||
glog.Fatal("Couldn't connect to docker.")
|
||||
glog.Fatalf("Couldn't connect to docker: %v", err)
|
||||
}
|
||||
return client
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user