Commit dc8c9489 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

helper/config: copy template path properly

parent 1d94e0f8
......@@ -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
......
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