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

This commit is contained in:
Brian Downs 2014-10-03 12:34:07 -07:00
parent bf5ec1f985
commit dabf34a458
1 changed files with 1 additions and 4 deletions

View File

@ -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
}