fix: race

This commit is contained in:
Kevin Franklin Kim 2025-05-19 09:40:23 +02:00
parent d058ce2b41
commit 6c104da662
No known key found for this signature in database

View File

@ -92,7 +92,7 @@ func (r *Repo) DimensionUpdateRoutine(ctx context.Context) error {
for {
select {
case <-ctx.Done():
l.Debug("routine canceled", zap.Error(ctx.Err()))
l.Debug("routine canceled")
return nil
case newDimension := <-r.dimensionUpdateChannel:
l.Debug("received a new dimension", zap.String("dimension", newDimension.Dimension))