Loading cloudcontrol/node/hypervisor/lib.py +1 −1 Original line number Diff line number Diff line Loading @@ -328,7 +328,7 @@ class StorageIndex(object): lambda: s.capacity - s.available, 5, 5), Tag('sto%s_type' % s.name, lambda: s.type, 5, 5), Tag('sto%s_vol' % s.name, lambda: ' '.join(s.volumes) if s.volumes and s.type != 'rbd' else None, lambda: ' '.join(s.volumes) if s.volumes and not s.is_shared else None, 5, 5), Tag('sto%s_ratio' % s.name, lambda: '%0.2f' % (1 - float(s.available) / s.capacity), 5, 5), Loading Loading
cloudcontrol/node/hypervisor/lib.py +1 −1 Original line number Diff line number Diff line Loading @@ -328,7 +328,7 @@ class StorageIndex(object): lambda: s.capacity - s.available, 5, 5), Tag('sto%s_type' % s.name, lambda: s.type, 5, 5), Tag('sto%s_vol' % s.name, lambda: ' '.join(s.volumes) if s.volumes and s.type != 'rbd' else None, lambda: ' '.join(s.volumes) if s.volumes and not s.is_shared else None, 5, 5), Tag('sto%s_ratio' % s.name, lambda: '%0.2f' % (1 - float(s.available) / s.capacity), 5, 5), Loading