Commit 27be846b authored by Sebastiaan van Steenis's avatar Sebastiaan van Steenis Committed by Denise
Browse files

Add host to logging for Docker

parent f0c561ba
Showing with 2 additions and 2 deletions
+2 -2
......@@ -67,7 +67,7 @@ func checkDockerVersion(ctx context.Context, h *Host, clusterVersion string) err
if err != nil {
return fmt.Errorf("Can't retrieve Docker Info: %v", err)
}
logrus.Debugf("Docker Info found: %#v", info)
logrus.Debugf("Docker Info found for host [%s]: %#v", h.Address, info)
h.DockerInfo = info
if h.IgnoreDockerVersion {
return nil
......@@ -83,7 +83,7 @@ func checkDockerVersion(ctx context.Context, h *Host, clusterVersion string) err
}
if !isvalid {
return fmt.Errorf("Unsupported Docker version found [%s], supported versions are %v", info.ServerVersion, metadata.K8sVersionToDockerVersions[K8sVersion])
return fmt.Errorf("Unsupported Docker version found [%s] on host [%s], supported versions are %v", info.ServerVersion, h.Address, metadata.K8sVersionToDockerVersions[K8sVersion])
}
return nil
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment