summaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/transform.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/transform.go b/resources/transform.go
index 1fb3ed4da..ee4912a10 100644
--- a/resources/transform.go
+++ b/resources/transform.go
@@ -304,7 +304,7 @@ func (r *resourceAdapter) transform(publish, setContent bool) error {
key = key + "_" + tr.Key().Value()
}
- base := ResourceCacheKey(r.target.TargetPath())
+ base := ResourceCacheKey(r.target.Key())
key = cache.cleanKey(base) + "_" + helpers.MD5String(key)
@@ -537,6 +537,7 @@ type transformableResource interface {
resource.ContentProvider
resource.Resource
+ resource.Identifier
}
type transformationUpdate struct {