Lowercase states

This commit is contained in:
David Hain 2018-05-21 12:40:25 -05:00
parent 63f76c50a5
commit 4895c604e3
1 changed files with 2 additions and 2 deletions

View File

@ -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']),
})