mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-08 16:22:15 -04:00
packer: skip the user var if there was an error
This commit is contained in:
parent
f0d0621855
commit
6face65ecc
1 changed files with 1 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ func ParseTemplate(data []byte) (t *Template, err error) {
|
|||
if err != nil {
|
||||
errors = append(errors,
|
||||
fmt.Errorf("Error decoding default value for user var '%s': %s", k, err))
|
||||
continue
|
||||
}
|
||||
|
||||
t.Variables[k] = variable
|
||||
|
|
|
|||
Loading…
Reference in a new issue