Skip to content

Commit

Permalink
Fix stopped pool report command
Browse files Browse the repository at this point in the history
  • Loading branch information
bgurney-rh authored and mulkieran committed Nov 15, 2023
1 parent 9e43539 commit ad0b521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stratis_cli/_actions/_report_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def report_pool(self):
# Ignore bandit B603 errors. Input comes from D-Bus and has
# been processed.
for dev in stopped_pool.devs:
print(dev)
print(dev.devnode)
subprocess.run(
["/usr/bin/lsblk", "-i", str(dev.devnode)], check=True
["/usr/bin/lsblk", "-i", dev.devnode], check=True
) # nosec B603

0 comments on commit ad0b521

Please sign in to comment.