Skip to content

Commit

Permalink
Merge pull request #900 from gbregman/devel
Browse files Browse the repository at this point in the history
Remove "RBD Pool" column fron "namespace list" output
  • Loading branch information
gbregman authored Oct 14, 2024
2 parents 0442968 + 787018f commit 5ed0aed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions control/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1557,8 +1557,7 @@ def ns_list(self, args):

namespaces_list.append([ns.nsid,
break_string(ns.bdev_name, "-", 2),
ns.rbd_pool_name,
ns.rbd_image_name,
f"{ns.rbd_pool_name}/{ns.rbd_image_name}",
self.format_size(ns.rbd_image_size),
self.format_size(ns.block_size),
break_string(ns.uuid, "-", 3),
Expand All @@ -1575,7 +1574,7 @@ def ns_list(self, args):
else:
table_format = "plain"
namespaces_out = tabulate(namespaces_list,
headers = ["NSID", "Bdev\nName", "RBD\nPool", "RBD\nImage",
headers = ["NSID", "Bdev\nName", "RBD\nImage",
"Image\nSize", "Block\nSize", "UUID", "Load\nBalancing\nGroup", "Visibility",
"R/W IOs\nper\nsecond", "R/W MBs\nper\nsecond",
"Read MBs\nper\nsecond", "Write MBs\nper\nsecond"],
Expand Down

0 comments on commit 5ed0aed

Please sign in to comment.