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

Added sto*_shared tag

parent cf89ed48
No related branches found
No related tags found
No related merge requests found
......@@ -343,6 +343,7 @@ class StorageIndex(object):
Tag('sto%s_ratio' % s.name,
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' % s.name, partial(lambda x: {True: 'yes', False: 'no'}[s.is_shared], s)),
))
self.update_path_index()
......
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