From 834f44190f0f08eb74a88b2e9d330bd31a717dd9 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 17 Mar 2020 12:30:36 +0100 Subject: [PATCH] go generate --- builder/vsphere/iso/step_create.hcl2spec.go | 4 +++- helper/communicator/config.hcl2spec.go | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/builder/vsphere/iso/step_create.hcl2spec.go b/builder/vsphere/iso/step_create.hcl2spec.go index 2bdc5384f..9f1e31fdf 100644 --- a/builder/vsphere/iso/step_create.hcl2spec.go +++ b/builder/vsphere/iso/step_create.hcl2spec.go @@ -92,7 +92,9 @@ type FlatNIC struct { // FlatMapstructure returns a new FlatNIC. // FlatNIC is an auto-generated flat version of NIC. // Where the contents a fields with a `mapstructure:,squash` tag are bubbled up. -func (*NIC) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } { return new(FlatNIC) } +func (*NIC) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } { + return new(FlatNIC) +} // HCL2Spec returns the hcl spec of a NIC. // This spec is used by HCL to read the fields of NIC. diff --git a/helper/communicator/config.hcl2spec.go b/helper/communicator/config.hcl2spec.go index 082bdee1f..502059565 100644 --- a/helper/communicator/config.hcl2spec.go +++ b/helper/communicator/config.hcl2spec.go @@ -145,7 +145,9 @@ type FlatSSH struct { // FlatMapstructure returns a new FlatSSH. // FlatSSH is an auto-generated flat version of SSH. // Where the contents a fields with a `mapstructure:,squash` tag are bubbled up. -func (*SSH) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } { return new(FlatSSH) } +func (*SSH) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } { + return new(FlatSSH) +} // HCL2Spec returns the hcl spec of a SSH. // This spec is used by HCL to read the fields of SSH.