Remove accidental dependency to moby's ioutils package.

This commit is contained in:
localghost 2017-07-10 22:05:42 +02:00
parent 079cbc263f
commit daca0c2efe
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@ import (
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/provisioner/file" "github.com/hashicorp/packer/provisioner/file"
"github.com/hashicorp/packer/template" "github.com/hashicorp/packer/template"
"github.com/moby/moby/pkg/ioutils"
"os/exec" "os/exec"
) )
@ -144,7 +143,7 @@ func TestProvisionerProvision_PlaybookFilesWithPlaybookDir(t *testing.T) {
var p Provisioner var p Provisioner
config := testConfig() config := testConfig()
playbook_dir, err := ioutils.TempDir("", "") playbook_dir, err := ioutil.TempDir("", "")
if err != nil { if err != nil {
t.Fatalf("Failed to create playbook_dir: %s", err) t.Fatalf("Failed to create playbook_dir: %s", err)
} }