diff --git a/pkg/rid/store/cockroach/store.go b/pkg/rid/store/cockroach/store.go index a089a27c6..b0c55f902 100644 --- a/pkg/rid/store/cockroach/store.go +++ b/pkg/rid/store/cockroach/store.go @@ -100,10 +100,11 @@ func (s *Store) CheckCurrentMajorSchemaVersion(ctx context.Context) error { // Interact implements store.Interactor interface. func (s *Store) Interact(ctx context.Context) (repos.Repository, error) { + logger := logging.WithValuesFromContext(ctx, s.logger) return &repo{ Queryable: s.db.Pool, clock: s.clock, - logger: s.logger, + logger: logger, }, nil }