Commit 70c4753f authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

fmt

parent 6d3b09c5
...@@ -9,7 +9,7 @@ import ( ...@@ -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 {
......
...@@ -248,7 +248,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe ...@@ -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
......
...@@ -59,7 +59,7 @@ func (s stepDownloadISO) Run(state map[string]interface{}) multistep.StepAction ...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment