]> www.infradead.org Git - users/hch/nvmetcli.git/commit
nvmetcli: port decoration coloring only if its enabled
authorSagi Grimberg <sagi@grimberg.me>
Tue, 5 Dec 2017 11:48:42 +0000 (13:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 6 Dec 2017 22:48:57 +0000 (14:48 -0800)
commit12b24d905b5915984e2832798bc94a72b7149d33
tree397f1ef6fb1f479c2fa3cb78f6ac1e389c0af39f
parentc54be612129a36954c3c4ced1af041a88e880930
nvmetcli: port decoration coloring only if its enabled

Only color the port if its enabled (has subsystems or
referrals symlinks).

Also, don't display none trsvcid (like in the fc case).

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
nvmetcli