Enable whitespace linter

Use the whitespace linter and fix the reported problems.

[NO TESTS NEEDED]

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
Paul Holzinger
2021-02-11 22:55:56 +01:00
parent 69ab67bf90
commit 78c8a87362
169 changed files with 0 additions and 291 deletions

View File

@ -86,14 +86,12 @@ func (c *Container) resolvePath(mountPoint string, containerPath string) (string
return "", "", err
}
return mount.Source, absolutePathOnTheBindMount, nil
}
if searchPath == "/" {
// Cannot go beyond "/", so we're done.
break
}
// Walk *down* the path (e.g., "/foo/bar/x" -> "/foo/bar").
searchPath = filepath.Dir(searchPath)
}