mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-10 17:20:26 -04:00
Merge pull request #13453 from sbraz/fix_spacing
hcl2template: fix spacing in error message
This commit is contained in:
commit
08fec48477
1 changed files with 2 additions and 2 deletions
|
|
@ -135,9 +135,9 @@ func (p *Parser) decodeBuildConfig(block *hcl.Block, cfg *PackerConfig) (*BuildB
|
|||
diags = append(diags, &hcl.Diagnostic{
|
||||
Severity: hcl.DiagError,
|
||||
Summary: "Invalid " + sourceLabel + " reference",
|
||||
Detail: "A " + sourceLabel + " type is made of three parts that are" +
|
||||
Detail: "A " + sourceLabel + " type is made of three parts that are " +
|
||||
"split by a dot `.`; each part must start with a letter and " +
|
||||
"may contain only letters, digits, underscores, and dashes." +
|
||||
"may contain only letters, digits, underscores, and dashes. " +
|
||||
"A valid source reference looks like: `source.type.name`",
|
||||
Subject: block.DefRange.Ptr(),
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue