From 8f7b148cbbd725957bf0ad2a72de349c3d01e4e8 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Fri, 5 Mar 2021 14:49:44 +0100 Subject: [PATCH] Update types.required_plugins.go --- hcl2template/types.required_plugins.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hcl2template/types.required_plugins.go b/hcl2template/types.required_plugins.go index bed94fac2..5f9eae049 100644 --- a/hcl2template/types.required_plugins.go +++ b/hcl2template/types.required_plugins.go @@ -45,8 +45,9 @@ func (cfg *PackerConfig) decodeImplicitRequiredPluginsBlocks(f *hcl.File) hcl.Di // is 'implicitly used'. Here we read common configuration blocks to try to // guess plugins. - // decodeRequiredPluginsBlock needs to be called first; otherwise all - // required plugins will be implicitly required too. + // decodeRequiredPluginsBlock needs to be called before + // decodeImplicitRequiredPluginsBlocks; otherwise all required plugins will + // be implicitly required too. var diags hcl.Diagnostics