mirror of
https://github.com/containers/podman.git
synced 2025-08-23 09:18:19 +08:00
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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user