packer: skip the user var if there was an error

pull/919/head
Mitchell Hashimoto 13 years ago
parent f0d0621855
commit 6face65ecc

@ -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…
Cancel
Save