Skip to content

Commit

Permalink
prettify the header
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Nov 16, 2024
1 parent c8562aa commit d384f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ixdiagnose/plugins/nvme.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_nvme_devs() -> list[str]:


def run_nvme_cmd(action: str, nvme: str) -> str:
header = f"nvme {action} {nvme!r}\n"
header = nvme.title(20, fill_char="#")
cp = run(["nvme", action, nvme], check=False)
if cp.returncode:
footer = f"FAILED: {cp.stderr}\n\n"
Expand Down

0 comments on commit d384f3c

Please sign in to comment.