Update types.required_plugins.go

This commit is contained in:
Adrien Delorme
2021-03-09 16:16:07 +01:00
parent 924fb0f8f8
commit 8f7b148cbb
+3 -2
View File
@@ -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