aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/resource_spec.go
diff options
context:
space:
mode:
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,