daemon/snapshotter: format code with gofumpt

Formatting the code with https://github.com/mvdan/gofumpt

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-06-29 00:32:38 +02:00
parent 9213e35011
commit e236994b76
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 1 additions and 3 deletions

View file

@ -138,5 +138,4 @@ func (m mounter) Mount(mounts []mount.Mount, containerID string) (string, error)
func (m mounter) Unmount(target string) error { func (m mounter) Unmount(target string) error {
return unmount(target) return unmount(target)
} }

View file

@ -2,8 +2,7 @@ package snapshotter
import "github.com/containerd/containerd/mount" import "github.com/containerd/containerd/mount"
type winChecker struct { type winChecker struct{}
}
func (c *winChecker) IsMounted(path string) bool { func (c *winChecker) IsMounted(path string) bool {
return false return false