remove old untrue comment
This commit is contained in:
parent
65cc5fe823
commit
bc49234930
|
@ -42,10 +42,6 @@ func (p *Parser) decodeSource(block *hcl.Block) (*Source, hcl.Diagnostics) {
|
||||||
func (p *Parser) StartBuilder(source *Source) (packer.Builder, hcl.Diagnostics) {
|
func (p *Parser) StartBuilder(source *Source) (packer.Builder, hcl.Diagnostics) {
|
||||||
var diags hcl.Diagnostics
|
var diags hcl.Diagnostics
|
||||||
|
|
||||||
// calling BuilderSchemas will start a new builder plugin to ask about
|
|
||||||
// the schema of the builder; but we do not know yet if the builder is
|
|
||||||
// actually going to be used. This also allows to call the same builder
|
|
||||||
// more than once.
|
|
||||||
builder, err := p.BuilderSchemas.Start(source.Type)
|
builder, err := p.BuilderSchemas.Start(source.Type)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
diags = append(diags, &hcl.Diagnostic{
|
diags = append(diags, &hcl.Diagnostic{
|
||||||
|
|
Loading…
Reference in New Issue