Commit dabf34a4 authored by Brian Downs's avatar Brian Downs

Replaced struct call with nil per @jsonberanek. Ran go fmt.

parent bf5ec1f9
...@@ -125,10 +125,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac ...@@ -125,10 +125,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
// Write our Vagrantfile // Write our Vagrantfile
var customVagrantfile string var customVagrantfile string
if config.VagrantfileTemplate != "" { if config.VagrantfileTemplate != "" {
vagrantfilePath, err := config.tpl.Process(config.VagrantfileTemplate, &vagrantfileTemplate{ vagrantfilePath, err := config.tpl.Process(config.VagrantfileTemplate, nil)
ProviderVagrantfile: vagrantfile,
CustomVagrantfile: "",
})
if err != nil { if err != nil {
return nil, false, err return nil, false, err
} }
......
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