aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/resource_spec.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-12-22 17:59:03 +0100
committerBjørn Erik Pedersen <[email protected]>2024-12-22 19:25:03 +0100
commit4a5e94087ba2fe1405ad2edbcbeeccac2a6147a6 (patch)
treeae2ad23b97cd2816c4f7266c9e53e4fa3dd3f657 /resources/resource_spec.go
parent48a7aee961de83ce5ee1b9ada06567878665a795 (diff)
downloadhugo-4a5e94087ba2fe1405ad2edbcbeeccac2a6147a6.tar.gz
hugo-4a5e94087ba2fe1405ad2edbcbeeccac2a6147a6.zip
Fix union, complement, symdiff, and intersect for transient resources
Fixes #13181
Diffstat (limited to 'resources/resource_spec.go')
-rw-r--r--resources/resource_spec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/resource_spec.go b/resources/resource_spec.go
index d50edeb73..912a0d786 100644
--- a/resources/resource_spec.go
+++ b/resources/resource_spec.go
@@ -187,6 +187,7 @@ func (r *Spec) NewResource(rd ResourceSourceDescriptor) (resource.Resource, erro
Staler: &AtomicStaler{},
h: &resourceHash{},
publishInit: &sync.Once{},
+ keyInit: &sync.Once{},
paths: rp,
spec: r,
sd: rd,