uploader: compress rlogs (#24447)

old-commit-hash: 66fbce638f1a6a2bc9c08c4a17d5efe47fb91651
This commit is contained in:
Adeeb Shihadeh
2022-05-05 19:13:06 -07:00
committed by GitHub
parent 75688d1d80
commit 2e45c3bd68
+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)