mirror of
https://github.com/containers/podman.git
synced 2025-10-15 02:06:42 +08:00
bump golangci-lint to v1.49.0
Motivated to have a working `make lint` on Fedora 37 (beta). Most changes come from the new `gofmt` standards. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -166,7 +166,7 @@ func findBindMount(c *Container, containerPath string) *specs.Mount {
|
||||
return nil
|
||||
}
|
||||
|
||||
/// isPathOnMount returns true if the specified containerPath is a subdir of any
|
||||
// / isPathOnMount returns true if the specified containerPath is a subdir of any
|
||||
// Mount's destination.
|
||||
func isPathOnMount(c *Container, containerPath string) bool {
|
||||
cleanedContainerPath := filepath.Clean(containerPath)
|
||||
|
Reference in New Issue
Block a user