decompress audit log properly before sending to remote target (#20619)
This commit is contained in:
@@ -242,6 +242,10 @@ func (store *QueueStore[I]) GetRaw(key Key) (raw []byte, err error) {
|
|||||||
return raw, os.ErrNotExist
|
return raw, os.ErrNotExist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if key.Compress {
|
||||||
|
raw, err = s2.Decode(nil, raw)
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user