Fix vet errors about unkeyed fields
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
e4b13e4efb
commit
6b772e6532
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import (
|
||||||
"github.com/docker/docker/pkg/reexec"
|
"github.com/docker/docker/pkg/reexec"
|
||||||
)
|
)
|
||||||
|
|
||||||
var chrootArchiver = &archive.Archiver{Untar}
|
var chrootArchiver = &archive.Archiver{Untar: Untar}
|
||||||
|
|
||||||
func chroot(path string) error {
|
func chroot(path string) error {
|
||||||
if err := syscall.Chroot(path); err != nil {
|
if err := syscall.Chroot(path); err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue