Skip to content

Commit

Permalink
Use fs_mount over mount
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemartinlogan committed Jan 28, 2025
1 parent 8457aa0 commit 14a1f99
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jarvis_util/introspect/system_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ def __init__(self, exec_info):
def wait(self):
super().wait()
total = []
# for host, stdout in self.stdout.items():
# lsblk_data = yaml.load(stdout, Loader=yaml.FullLoader)
# for dev in lsblk_data:
# if dev['tran'] == 'pcie':
# dev['tran'] = 'nvme'
# dev['host'] = host
# total.append(dev)
for host, stdout in self.stdout.items():
lsblk_data = yaml.load(stdout, Loader=yaml.FullLoader)
for dev in lsblk_data:
if dev['tran'] == 'pcie':
dev['tran'] = 'nvme'
dev['host'] = host
total.append(dev)
self.df = sdf.SmallDf(rows=total, columns=self.columns)


Expand Down

0 comments on commit 14a1f99

Please sign in to comment.