summaryrefslogtreecommitdiff
path: root/vendor/github.com/mitchellh/packer/command/meta.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mitchellh/packer/command/meta.go')
-rw-r--r--vendor/github.com/mitchellh/packer/command/meta.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/vendor/github.com/mitchellh/packer/command/meta.go b/vendor/github.com/mitchellh/packer/command/meta.go
index 187c364a..b8dfdfbf 100644
--- a/vendor/github.com/mitchellh/packer/command/meta.go
+++ b/vendor/github.com/mitchellh/packer/command/meta.go
@@ -120,9 +120,6 @@ func (m *Meta) FlagSet(n string, fs FlagSetFlags) *flag.FlagSet {
f.Var((*kvflag.Flag)(&m.flagVars), "var", "")
f.Var((*kvflag.FlagJSON)(&m.flagVars), "var-file", "")
}
- if len(m.flagVars) == 0 {
- m.flagVars = make(map[string]string)
- }
// Create an io.Writer that writes to our Ui properly for errors.
// This is kind of a hack, but it does the job. Basically: create