Commit ffba413a authored by Antoine Millet's avatar Antoine Millet

Added sto*_shared tag

parent cf89ed48
......@@ -343,6 +343,7 @@ class StorageIndex(object):
Tag('sto%s_ratio' %,
partial(lambda x: '%0.2f' % (1 - float(x.available) / x.capacity)
if x.available is not None and x.capacity is not None else None, s), 5, 5),
Tag('sto%s_shared' %, partial(lambda x: {True: 'yes', False: 'no'}[s.is_shared], s)),
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment