Skip to content

Commit 1839979

Browse files
storage identiication correction
1 parent 61e0a9b commit 1839979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/awareness.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,8 @@ function identifyStorage()
621621
storage_device = Dict()
622622
storage_features[string(i)] = storage_device
623623

624-
storage_type = device["rota"] ? "HDD" : "SSD"; println(device["tran"])
625-
storage_interface = uppercase(device["tran"])
624+
storage_type = device["rota"] ? "HDD" : "SSD";
625+
storage_interface = isnothing(device["tran"]) ? "unknown" : uppercase(device["tran"])
626626
storage_size = device["size"]
627627
storage_latency = "unset"
628628
storage_bandwidth = "unset"

0 commit comments

Comments
 (0)