From 4895c604e3693e0273840645856321b1111ff453 Mon Sep 17 00:00:00 2001 From: David Hain Date: Mon, 21 May 2018 12:40:25 -0500 Subject: [PATCH] Lowercase states --- storcli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']), })