fmt
This commit is contained in:
parent
8b9263d38f
commit
d1c69048ed
|
@ -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
|
||||||
|
|
||||||
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
|
||||||
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:
|
||||||
|
|
Loading…
Reference in New Issue