dockerhelper.Helper.DockerRoot(): don't swallow error.
@@ -100,7 +100,7 @@ var (
func (h *Helper) DockerRoot() (string, error) {
info, err := h.dockerInfo()
if err != nil {
- return "", nil
+ return "", err
}
return info.DockerRootDir, nil
}
