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
|
// 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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue