From cc79a53192de73457cb4c8c3350d896d952bb106 Mon Sep 17 00:00:00 2001
From: Gunnar Mills <gmills@us.ibm.com>
Date: Tue, 30 Nov 2021 19:33:42 -0600
Subject: Correct Dump file extension

BMC Dump which is implemented in phosphor-debug-collector uses ".tar.xz"
https://github.com/openbmc/phosphor-debug-collector/search?q=.tar.xz

The Dump page was incorrectly exporting as tar.gz. Fix this.

Change-Id: Id0b64a6e0ae92254484170a77e28a01f78c8d368
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
---
 src/views/Logs/Dumps/Dumps.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/views/Logs/Dumps/Dumps.vue')

diff --git a/src/views/Logs/Dumps/Dumps.vue b/src/views/Logs/Dumps/Dumps.vue
index 00bbf7f8..f4f64515 100644
--- a/src/views/Logs/Dumps/Dumps.vue
+++ b/src/views/Logs/Dumps/Dumps.vue
@@ -363,7 +363,7 @@ export default {
       }
     },
     exportFileName(row) {
-      let filename = row.item.dumpType + '_' + row.item.id + '.tar.gz';
+      let filename = row.item.dumpType + '_' + row.item.id + '.tar.xz';
       filename = filename.replace(RegExp(' ', 'g'), '_');
       return filename;
     },
-- 
cgit v1.2.3

