mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
commit
8d8bd3f891
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ func Parse(r io.Reader) (*Template, error) {
|
|||
if unused[0] == '_' {
|
||||
commentVal, ok := unusedMap[unused].(string)
|
||||
if !ok {
|
||||
return nil, fmt.Errorf("Failed to cast root level comment value to string")
|
||||
return nil, fmt.Errorf("Failed to cast root level comment value in comment \"%s\" to string.", unused)
|
||||
}
|
||||
|
||||
comment := map[string]string{
|
||||
|
|
|
|||
Loading…
Reference in a new issue