Skip to content

Commit

Permalink
Indent below "Space Usage"
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Jan 9, 2025
1 parent 781e587 commit 5e7da7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stratis_cli/_actions/_list_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,16 +287,16 @@ def _print_detail_view(self, mopool, size_change_codes):
total_physical_used = get_property(mopool.TotalPhysicalUsed(), Range, None)

print("Space Usage:")
print(f"Fully Allocated: {'Yes' if mopool.NoAllocSpace() else 'No'}")
print(f" Size: {Range(mopool.TotalPhysicalSize())}")
print(f" Allocated: {Range(mopool.AllocatedSize())}")
print(f" Fully Allocated: {'Yes' if mopool.NoAllocSpace() else 'No'}")
print(f" Size: {Range(mopool.TotalPhysicalSize())}")
print(f" Allocated: {Range(mopool.AllocatedSize())}")

total_physical_used = get_property(mopool.TotalPhysicalUsed(), Range, None)
total_physical_used_str = (
TABLE_FAILURE_STRING if total_physical_used is None else total_physical_used
)

print(f" Used: {total_physical_used_str}")
print(f" Used: {total_physical_used_str}")

def display(self):
"""
Expand Down

0 comments on commit 5e7da7f

Please sign in to comment.