Commit bfdd59db authored by Antoine Millet's avatar Antoine Millet

Disable volume detail on RBD pools

parent 9a0f28bc
......@@ -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),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment