helper/config: copy template path properly
This commit is contained in:
parent
1d94e0f8e3
commit
dc8c94890a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue