firewalldb: thread context to RealToPseudo

Update the RealToPseudo method of the PrivacyMapTx interface to take a
context.
This commit is contained in:
Elle Mouton 2025-03-13 16:30:35 -05:00
parent 7e8e4a9920
commit 5b31f16446
No known key found for this signature in database
GPG key ID: D7D916376026F177
4 changed files with 17 additions and 13 deletions

View file

@ -634,7 +634,7 @@ func (s *sessionRpcServer) PrivacyMapConversion(ctx context.Context,
var err error
if req.RealToPseudo {
res, err = tx.RealToPseudo(req.Input)
res, err = tx.RealToPseudo(ctx, req.Input)
return err
}