From 633d6d8d45406e4bd005a452db95fc2082fa76b5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 24 Sep 2013 23:01:16 +0200 Subject: [PATCH] packer: skip the user var if there was an error --- packer/template.go | 1 + 1 file changed, 1 insertion(+) diff --git a/packer/template.go b/packer/template.go index 063508ba4..180b02c0f 100644 --- a/packer/template.go +++ b/packer/template.go @@ -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