aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag
diff options
context:
space:
mode:
Diffstat (limited to 'entity/dag')
-rw-r--r--entity/dag/clock.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/entity/dag/clock.go b/entity/dag/clock.go
index 74a6cd73..a195df1f 100644
--- a/entity/dag/clock.go
+++ b/entity/dag/clock.go
@@ -21,6 +21,7 @@ func ClockLoader(defs ...Definition) repository.ClockLoader {
Witnesser: func(repo repository.ClockedRepo) error {
var errG errgroup.Group
for _, def := range defs {
+ def := def
errG.Go(func() error {
return ReadAllClocksNoCheck(def, repo)
})