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