diff --git a/cmd/generate-fixer-deprecations/main.go b/cmd/generate-fixer-deprecations/main.go index d5fc2fe09..5804ef390 100644 --- a/cmd/generate-fixer-deprecations/main.go +++ b/cmd/generate-fixer-deprecations/main.go @@ -52,9 +52,7 @@ func main() { } deprecated := fixer.DeprecatedOptions() - for _, dep := range deprecated { - allDeprecatedOpts = append(allDeprecatedOpts, dep) - } + allDeprecatedOpts = append(allDeprecatedOpts, deprecated...) } deprecated_path := filepath.Join(packerDir, "helper", "config",