Commit 6face65e authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer: skip the user var if there was an error

parent f0d06218
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment