From d1c69048ed00e7299ea494e9436f4a5f6e17d709 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 19 Jun 2013 21:20:54 -0700 Subject: [PATCH] fmt --- builder/virtualbox/artifact.go | 2 +- builder/virtualbox/builder.go | 2 +- builder/virtualbox/step_download_iso.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/virtualbox/artifact.go b/builder/virtualbox/artifact.go index 831e2f3d4..a31b14aee 100644 --- a/builder/virtualbox/artifact.go +++ b/builder/virtualbox/artifact.go @@ -9,7 +9,7 @@ import ( // of files associated with the resulting machine. type Artifact struct { dir string - f []string + f []string } func (*Artifact) BuilderId() string { diff --git a/builder/virtualbox/builder.go b/builder/virtualbox/builder.go index d692a93ae..0e7476eb5 100644 --- a/builder/virtualbox/builder.go +++ b/builder/virtualbox/builder.go @@ -248,7 +248,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe artifact := &Artifact{ dir: b.config.OutputDir, - f: files, + f: files, } return artifact, nil diff --git a/builder/virtualbox/step_download_iso.go b/builder/virtualbox/step_download_iso.go index a4b19f56a..ffa86b9e5 100644 --- a/builder/virtualbox/step_download_iso.go +++ b/builder/virtualbox/step_download_iso.go @@ -59,7 +59,7 @@ func (s stepDownloadISO) Run(state map[string]interface{}) multistep.StepAction progressTicker := time.NewTicker(5 * time.Second) defer progressTicker.Stop() - DownloadWaitLoop: +DownloadWaitLoop: for { select { case err := <-downloadCompleteCh: