This commit is contained in:
Mitchell Hashimoto 2013-06-19 21:20:54 -07:00
parent 8b9263d38f
commit d1c69048ed
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import (
// of files associated with the resulting machine. // of files associated with the resulting machine.
type Artifact struct { type Artifact struct {
dir string dir string
f []string f []string
} }
func (*Artifact) BuilderId() string { func (*Artifact) BuilderId() string {

View File

@ -248,7 +248,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
artifact := &Artifact{ artifact := &Artifact{
dir: b.config.OutputDir, dir: b.config.OutputDir,
f: files, f: files,
} }
return artifact, nil return artifact, nil

View File

@ -59,7 +59,7 @@ func (s stepDownloadISO) Run(state map[string]interface{}) multistep.StepAction
progressTicker := time.NewTicker(5 * time.Second) progressTicker := time.NewTicker(5 * time.Second)
defer progressTicker.Stop() defer progressTicker.Stop()
DownloadWaitLoop: DownloadWaitLoop:
for { for {
select { select {
case err := <-downloadCompleteCh: case err := <-downloadCompleteCh: