mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 02:42:57 +02:00
databroker: use contextual logging for errors, use original record type for encryption (#3096)
This commit is contained in:
parent
8567b56b8d
commit
aaff52fc61
3 changed files with 10 additions and 10 deletions
|
@ -146,7 +146,7 @@ func (e *encryptedBackend) decryptRecord(in *databroker.Record) (out *databroker
|
|||
// Create a new record so that we don't re-use any internal state
|
||||
return &databroker.Record{
|
||||
Version: in.Version,
|
||||
Type: data.TypeUrl,
|
||||
Type: in.Type,
|
||||
Id: in.Id,
|
||||
Data: data,
|
||||
ModifiedAt: in.ModifiedAt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue