update changelog

This commit is contained in:
Matthew Hooker 2017-02-03 23:15:18 -08:00
parent 84fc62f6b2
commit db49f10cad
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
2 changed files with 4 additions and 3 deletions

View File

@ -13,6 +13,7 @@
* builder/amazon-ebsvolume: Fix interpolation of block_device. [GH-4464]
* builder/vmware: ESXi: VNC port timeout increased to 5 s. [GH-4480]
* core: always check for an error first when walking a path. [GH-4467]
* builder/virtualbox: remove guest additions before saving image. [GH-4496]
## 0.12.2 (January 20, 2017)

View File

@ -138,12 +138,12 @@ func funcGenTimestamp(ctx *Context) interface{} {
}
func funcGenUser(ctx *Context) interface{} {
return func(k string) string {
return func(k string) (string, error) {
if ctx == nil || ctx.UserVariables == nil {
return ""
return "", errors.New("test")
}
return ctx.UserVariables[k]
return ctx.UserVariables[k], nil
}
}