Remove accidental dependency to moby's ioutils package.
This commit is contained in:
parent
079cbc263f
commit
daca0c2efe
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue