add comments

This commit is contained in:
Adrien Delorme
2021-03-17 09:56:00 +01:00
parent 69de942647
commit ef974dd75c
+2
View File
@@ -94,6 +94,8 @@ func (cfg *PackerConfig) decodeImplicitRequiredPluginsBlock(k ComponentKind, blo
// malformed block ? Let's not panic :)
return nil
}
// Currently all block types are `type "component-kind" ["name"] {`
// this makes this simple.
componentName := block.Labels[0]
redirect := map[ComponentKind]map[string]string{