From 3b8c5e45d10d6fce650803971d144ccdf4e2fa59 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Fri, 20 Oct 2023 11:24:46 -0400 Subject: [PATCH] Remove empty line --- .../internal/mapstructure-to-hcl2/mapstructure-to-hcl2.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/packer-sdc/internal/mapstructure-to-hcl2/mapstructure-to-hcl2.go b/cmd/packer-sdc/internal/mapstructure-to-hcl2/mapstructure-to-hcl2.go index d26013876..167f95d7b 100644 --- a/cmd/packer-sdc/internal/mapstructure-to-hcl2/mapstructure-to-hcl2.go +++ b/cmd/packer-sdc/internal/mapstructure-to-hcl2/mapstructure-to-hcl2.go @@ -150,7 +150,6 @@ func (cmd *Command) Run(args []string) int { if nt.Obj().Name() != id.Name { continue // not the struct we are looking for } - // make sure each type is found once where somehow sometimes they can be found twice typeNames = append(typeNames[:pos], typeNames[pos+1:]...) flatenedStruct, err := getMapstructureSquashedStruct(obj.Pkg(), utStruct)