From e236994b7650bdaafdafb69abcdbcc03676e26b3 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 29 Jun 2023 00:32:38 +0200 Subject: [PATCH] daemon/snapshotter: format code with gofumpt Formatting the code with https://github.com/mvdan/gofumpt Signed-off-by: Sebastiaan van Stijn --- daemon/snapshotter/mount.go | 1 - daemon/snapshotter/mount_windows.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/daemon/snapshotter/mount.go b/daemon/snapshotter/mount.go index 9c716d9b98..b7c28a2865 100644 --- a/daemon/snapshotter/mount.go +++ b/daemon/snapshotter/mount.go @@ -138,5 +138,4 @@ func (m mounter) Mount(mounts []mount.Mount, containerID string) (string, error) func (m mounter) Unmount(target string) error { return unmount(target) - } diff --git a/daemon/snapshotter/mount_windows.go b/daemon/snapshotter/mount_windows.go index f43cfe24c4..19f1ebea7d 100644 --- a/daemon/snapshotter/mount_windows.go +++ b/daemon/snapshotter/mount_windows.go @@ -2,8 +2,7 @@ package snapshotter import "github.com/containerd/containerd/mount" -type winChecker struct { -} +type winChecker struct{} func (c *winChecker) IsMounted(path string) bool { return false