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
// Write our Vagrantfile
var customVagrantfile string
if config.VagrantfileTemplate != "" {
vagrantfilePath, err := config.tpl.Process(config.VagrantfileTemplate, &vagrantfileTemplate{
ProviderVagrantfile: vagrantfile,
CustomVagrantfile: "",
})
vagrantfilePath, err := config.tpl.Process(config.VagrantfileTemplate, nil)
if err != nil {
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