Commit bfdd59db authored by Antoine Millet's avatar Antoine Millet
Browse files

Disable volume detail on RBD pools

parent 9a0f28bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ class Handler(HostHandler):
                    lambda sto: sto.capacity - sto.available, 5, 5, storage),
                Tag('sto%s_type' % name, lambda sto: sto.type, 5, 5, storage),
                Tag('sto%s_vol' % name,
                    lambda sto: ' '.join(sto.volumes) if sto.volumes else None,
                    lambda sto: ' '.join(sto.volumes) if sto.volumes and sto.type != 'rbd' else None,
                    5, 5, storage),
                Tag('sto%s_ratio' % name,
                    lambda sto: '%0.2f' % (1 - float(sto.available) / sto.capacity), 5, 5, storage),