From 7e8f7efdd15c0fe333cb657b07fdbf986e022a2c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 28 Aug 2019 03:12:20 +0200 Subject: [PATCH] fix build after merge of outdated PR this broke after e554ab558985b686c9c3427275a5e016aa1cdb76, was merged but the PR was outdated. ``` [2019-08-28T00:27:12.031Z] builder/dockerfile/copy.go:566:29: too many arguments in call to system.MkdirAll [2019-08-28T00:27:12.031Z] have (string, number, string) [2019-08-28T00:27:12.031Z] want (string, os.FileMode) ``` Signed-off-by: Sebastiaan van Stijn --- builder/dockerfile/copy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/dockerfile/copy.go b/builder/dockerfile/copy.go index d0a8cea448..3e9980b472 100644 --- a/builder/dockerfile/copy.go +++ b/builder/dockerfile/copy.go @@ -563,7 +563,7 @@ func copyFile(archiver Archiver, source, dest *copyEndpoint, identity *idtools.I // are of the form \\?\Volume{}\. An example would be: // \\?\Volume{dae8d3ac-b9a1-11e9-88eb-e8554b2ba1db}\bin\busybox.exe - if err := system.MkdirAll(filepath.Dir(dest.path), 0755, ""); err != nil { + if err := system.MkdirAll(filepath.Dir(dest.path), 0755); err != nil { return err } } else {