From 995909f966009ce03fca6fdb9dfa928c9c3939e5 Mon Sep 17 00:00:00 2001 From: Anthony Romaniello <66272872+aromanielloNTIA@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:35:53 -0500 Subject: [PATCH] Remove hard-coded SSD_DEVICE in function call --- scos_actions/actions/acquire_sea_data_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scos_actions/actions/acquire_sea_data_product.py b/scos_actions/actions/acquire_sea_data_product.py index e31cd83f..6550a300 100644 --- a/scos_actions/actions/acquire_sea_data_product.py +++ b/scos_actions/actions/acquire_sea_data_product.py @@ -791,7 +791,7 @@ def capture_diagnostics( except: logger.warning("Failed to get SCOS uptime") try: # SSD SMART data - smart_data = get_disk_smart_data("/dev/nvme0n1") + smart_data = get_disk_smart_data(SSD_DEVICE) cpu_diag["ssd_smart_data"] = ntia_diagnostics.SsdSmartData(**smart_data) except: logger.warning("Failed to get SSD SMART data")