Revert "resources: Add data context to the key in ExecuteAsTemplate"

This reverts commit 18cb21ff2e.

Fixes #7064
This commit is contained in:
Bjørn Erik Pedersen 2020-03-21 18:38:19 +01:00
parent 1664a0e893
commit c9dc316ad1
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -48,7 +48,7 @@ type executeAsTemplateTransform struct {
} }
func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey { 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 { func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error {