Skip to content

Commit 5ed0aed

Browse files
authored
Merge pull request #900 from gbregman/devel
Remove "RBD Pool" column fron "namespace list" output
2 parents 0442968 + 787018f commit 5ed0aed

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

control/cli.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,8 +1557,7 @@ def ns_list(self, args):
15571557

15581558
namespaces_list.append([ns.nsid,
15591559
break_string(ns.bdev_name, "-", 2),
1560-
ns.rbd_pool_name,
1561-
ns.rbd_image_name,
1560+
f"{ns.rbd_pool_name}/{ns.rbd_image_name}",
15621561
self.format_size(ns.rbd_image_size),
15631562
self.format_size(ns.block_size),
15641563
break_string(ns.uuid, "-", 3),
@@ -1575,7 +1574,7 @@ def ns_list(self, args):
15751574
else:
15761575
table_format = "plain"
15771576
namespaces_out = tabulate(namespaces_list,
1578-
headers = ["NSID", "Bdev\nName", "RBD\nPool", "RBD\nImage",
1577+
headers = ["NSID", "Bdev\nName", "RBD\nImage",
15791578
"Image\nSize", "Block\nSize", "UUID", "Load\nBalancing\nGroup", "Visibility",
15801579
"R/W IOs\nper\nsecond", "R/W MBs\nper\nsecond",
15811580
"Read MBs\nper\nsecond", "Write MBs\nper\nsecond"],

0 commit comments

Comments
 (0)