Replaced struct call with nil per @jsonberanek. Ran go fmt.
This commit is contained in:
parent
bf5ec1f985
commit
dabf34a458
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue