Skip to content
Snippets Groups Projects
Commit bfdd59db authored by Antoine Millet's avatar Antoine Millet
Browse files

Disable volume detail on RBD pools

parent 9a0f28bc
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment