Browse Source

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 2 years ago
parent
commit
a764cd5a40
1 changed files with 1 additions and 3 deletions
  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"
 	"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
 	// Windows is different to Linux here because Windows does not support
 	// chroot. Hence there is no point sandboxing a chrooted process to
 	// chroot. Hence there is no point sandboxing a chrooted process to
 	// do the unpack. We call inline instead within the daemon process.
 	// do the unpack. We call inline instead within the daemon process.