Loading cloudcontrol/node/hypervisor/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -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), Loading Loading
cloudcontrol/node/hypervisor/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -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), Loading