From: Bjørn Erik Pedersen Date: Sat, 21 Mar 2020 17:38:19 +0000 (+0100) Subject: Revert "resources: Add data context to the key in ExecuteAsTemplate" X-Git-Tag: v0.68.1~4 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c9dc316ad160e78c9dff4e75313db4cac8ea6414;p=brevno-suite%2Fhugo Revert "resources: Add data context to the key in ExecuteAsTemplate" This reverts commit 18cb21ff2e4a60e7094908e4d6113a9d5a086316. Fixes #7064 --- diff --git a/resources/resource_transformers/templates/execute_as_template.go b/resources/resource_transformers/templates/execute_as_template.go index d6015c17..115b3d04 100644 --- a/resources/resource_transformers/templates/execute_as_template.go +++ b/resources/resource_transformers/templates/execute_as_template.go @@ -48,7 +48,7 @@ type executeAsTemplateTransform struct { } func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey { - return internal.NewResourceTransformationKey("execute-as-template", t.targetPath, t.data) + return internal.NewResourceTransformationKey("execute-as-template", t.targetPath) } func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error {