diff --git a/storcli.py b/storcli.py index 610cfdd..4f4ade1 100644 --- a/storcli.py +++ b/storcli.py @@ -72,7 +72,7 @@ def main(args): 'controller': ctrl_id, 'vd': vd_id, 'type': vd['TYPE'], - 'state': vd['State'], + 'state': vd['State'].lower(), 'size': parse_size(vd['Size']), }) @@ -83,7 +83,7 @@ def main(args): 'enclosure': enc, 'slot': slot, 'vd': dg_vd_map.get(pd['DG']), - 'state': pd['State'], + 'state': pd['State'].lower(), 'size': parse_size(pd['Size']), })