Skip to content

Commit

Permalink
Include the rule and profile services in the querier
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslav Dimitrov <[email protected]>
  • Loading branch information
rdimitrov committed Nov 1, 2024
1 parent c36ba12 commit c2ad7b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/querier/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ func (t *Type) BeginTx() (Querier, error) {
return nil, status.Errorf(codes.Internal, "failed to begin transaction")
}
return &Type{
store: t.store,
tx: tx,
querier: t.store.GetQuerierWithTransaction(tx),
store: t.store,
querier: t.store.GetQuerierWithTransaction(tx),
ruleSvc: t.ruleSvc,
profileSvc: t.profileSvc,
tx: tx,
}, nil
}

Expand Down

0 comments on commit c2ad7b3

Please sign in to comment.