diff options
Diffstat (limited to 'resources/transform.go')
-rw-r--r-- | resources/transform.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/transform.go b/resources/transform.go index 6a188e789..379452bb7 100644 --- a/resources/transform.go +++ b/resources/transform.go @@ -330,14 +330,13 @@ func (r *transformedResource) transform(setContent, publish bool) (err error) { if p == "" { panic("target path needed for key creation") } - partition := ResourceKeyPartition(p) - base = partition + "/" + p + base = ResourceCacheKey(p) default: return fmt.Errorf("transformation not supported for type %T", element) } } - key = r.cache.cleanKey(base + "_" + helpers.MD5String(key)) + key = r.cache.cleanKey(base) + "_" + helpers.MD5String(key) cached, found := r.cache.get(key) if found { |