[megaclisas-status] Minor typo..

This commit is contained in:
Vincent S. Cojot 2016-02-19 10:10:24 -05:00
parent 8bde9b05f6
commit dfc3726e36

View File

@ -328,7 +328,7 @@ def returnArrayInfo(output,controllerid,arrayid,arrayindex):
elif re.match(r'^Ongoing Progresses.*?:.*$',line.strip()):
operationlinennumber = linenumber
elif re.match(r'Cache Cade Type\s*:.*$', line):
cachecade_info = "Type : %s" %(get_line_value(line))
cachecade_info = "Type : " + line.strip().split(':')[1].strip()
elif re.match(r'^Target Id of the Associated LDs\s*:.*$', line):
associated=[]
for array in line.split(':')[1].strip().split(','):