Skip to content

Commit

Permalink
fix minor cosmetic ixnvdimm output
Browse files Browse the repository at this point in the history
(cherry picked from commit 4c75d4a)
  • Loading branch information
yocalebo authored and bugclerk committed Nov 6, 2024
1 parent cb9cbc5 commit 591d4e7
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 591d4e7

Please sign in to comment.