decompress audit log properly before sending to remote target (#20619)

This commit is contained in:
Ramon de Klein 2024-11-06 22:25:24 +01:00 committed by GitHub
parent 4208d7af5a
commit 25e34fda5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -242,6 +242,10 @@ func (store *QueueStore[I]) GetRaw(key Key) (raw []byte, err error) {
return raw, os.ErrNotExist
}
if key.Compress {
raw, err = s2.Decode(nil, raw)
}
return
}