mirror of https://github.com/eLvErDe/hwraid.git
[megaclisas-status] Make "Cache Cade" "CacheCade"
This commit is contained in:
parent
1f77418edc
commit
c2dd157145
|
@ -644,14 +644,14 @@ if printarray:
|
|||
rlen = len("Type")
|
||||
if (mlen < len("Flags")):
|
||||
mlen = len("Flags")
|
||||
if (clen < len("Cache Cade")):
|
||||
clen = len("Cache Cade")
|
||||
if (clen < len("CacheCade")):
|
||||
clen = len("CacheCade")
|
||||
|
||||
ldfmt = str('%-5s | %-'+str(rlen)+'s | %7s | %7s | %'+str(mlen)+'s | %8s | %8s | %8s | %-'+str(clen)+'s |%-12s ')
|
||||
# Header
|
||||
if ( i == 0 ):
|
||||
if not nagiosmode:
|
||||
print ldfmt % ("-- ID", "Type", "Size", "Strpsz", "Flags", "DskCache", "Status", "OS Path", "Cache Cade", "InProgress" )
|
||||
print ldfmt % ("-- ID", "Type", "Size", "Strpsz", "Flags", "DskCache", "Status", "OS Path", "CacheCade", "InProgress" )
|
||||
if not nagiosmode:
|
||||
print ldfmt % (
|
||||
arrayinfo[0],
|
||||
|
|
Loading…
Reference in New Issue