Forráskód Böngészése

daemon/snapshotter: format code with gofumpt

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 éve
szülő
commit
e236994b76
2 módosított fájl, 1 hozzáadás és 3 törlés
  1. 0 1
      daemon/snapshotter/mount.go
  2. 1 2
      daemon/snapshotter/mount_windows.go

+ 0 - 1
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)
-
 }

+ 1 - 2
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