Skip to content

Commit

Permalink
fix minor cosmetic ixnvdimm output
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Nov 6, 2024
1 parent ee4cec6 commit 4c75d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ixdiagnose/plugins/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def nvdimm_info(client: MiddlewareClient, context: typing.Any) -> str:
output = ''
with os.scandir('/dev/') as sdir:
for i in filter(lambda x: nmem.match(x.name), sdir):
output += f"{'=' * 20} {i.path} {'=' * 20}"
output += f"{'=' * 20} {i.path} {'=' * 20}\n"
cp = run(f'/usr/local/sbin/ixnvdimm {i.path}', check=False)
if cp.returncode:
output += f'Failed to retrieve nvdimm info: {cp.stderr}\n\n'
Expand Down

0 comments on commit 4c75d4a

Please sign in to comment.