Explorar o código

pkg/chrootarchive: 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 %!s(int64=2) %!d(string=hai) anos
pai
achega
a764cd5a40
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      pkg/chrootarchive/archive_windows.go

+ 1 - 3
pkg/chrootarchive/archive_windows.go

@@ -7,9 +7,7 @@ import (
 	"github.com/docker/docker/pkg/longpath"
 )
 
-func invokeUnpack(decompressedArchive io.ReadCloser,
-	dest string,
-	options *archive.TarOptions, root string) error {
+func invokeUnpack(decompressedArchive io.ReadCloser, dest string, options *archive.TarOptions, root string) error {
 	// Windows is different to Linux here because Windows does not support
 	// chroot. Hence there is no point sandboxing a chrooted process to
 	// do the unpack. We call inline instead within the daemon process.