pkg/chrootarchive: format code with gofumpt

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2022-12-28 08:57:02 +01:00
parent 210932b3bf
commit a764cd5a40
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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.