[megaclisas-status] Typo fix

This commit is contained in:
Vincent S. Cojot 2016-03-09 08:21:15 -05:00
parent dfc3726e36
commit 7f69bcd897
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ def returnArrayInfo(output,controllerid,arrayid,arrayindex):
elif re.match(r'^Target Id of the Associated LDs\s*:.*$', line): elif re.match(r'^Target Id of the Associated LDs\s*:.*$', line):
associated=[] associated=[]
for array in line.split(':')[1].strip().split(','): for array in line.split(':')[1].strip().split(','):
associated.append('c%du%d' % (controller_id, int(array))) associated.append('c%du%d' % (controllerid, int(array)))
cachecade_info = "Associated : %s" %(', '.join(associated)) cachecade_info = "Associated : %s" %(', '.join(associated))
linenumber += 1 linenumber += 1