Skip to content

Commit

Permalink
Remove hard-coded SSD_DEVICE in function call
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed Dec 13, 2024
1 parent b3c3b7a commit 995909f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scos_actions/actions/acquire_sea_data_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 995909f

Please sign in to comment.