uploader: compress rlogs (#24447)

This commit is contained in:
Adeeb Shihadeh
2022-05-05 19:13:06 -07:00
committed by GitHub
parent 4beb764aed
commit 66fbce638f
+1 -1
View File
@@ -261,7 +261,7 @@ def uploader_fn(exit_event):
key, fn = d
# qlogs and bootlogs need to be compressed before uploading
if key.endswith('qlog') or (key.startswith('boot/') and not key.endswith('.bz2')):
if key.endswith(('qlog', 'rlog')) or (key.startswith('boot/') and not key.endswith('.bz2')):
key += ".bz2"
success = uploader.upload(key, fn, sm['deviceState'].networkType.raw, sm['deviceState'].networkMetered)