From dc8c94890a8f926c621f062fc693c20ee93a21be Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 13 Jun 2015 22:56:36 -0700 Subject: [PATCH] helper/config: copy template path properly --- helper/config/decode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/config/decode.go b/helper/config/decode.go index 20554da61..1088fd19b 100644 --- a/helper/config/decode.go +++ b/helper/config/decode.go @@ -42,6 +42,7 @@ func Decode(target interface{}, config *DecodeOpts, raws ...interface{}) error { if config.InterpolateContext == nil { config.InterpolateContext = ctx } else { + config.InterpolateContext.TemplatePath = ctx.TemplatePath config.InterpolateContext.UserVariables = ctx.UserVariables } ctx = config.InterpolateContext