Update alicloud.py fix #94
parent
15aaf06093
commit
109cbe5891
|
@ -286,7 +286,7 @@ def rds(account,region):
|
||||||
'status':i['DBInstanceStatus'],
|
'status':i['DBInstanceStatus'],
|
||||||
'itype':i['DBInstanceType'],
|
'itype':i['DBInstanceType'],
|
||||||
'ver':i['EngineVersion'],
|
'ver':i['EngineVersion'],
|
||||||
'exp': '-' if i['ExpireTime'] == None else i['ExpireTime'].split('T')[0],
|
'exp': '-' if i.get('ExpireTime',None) == None else i.get('ExpireTime','-T').split('T')[0],
|
||||||
'cpu':'无','mem':'无','disk':'无'
|
'cpu':'无','mem':'无','disk':'无'
|
||||||
} for i in rdsbase_list}
|
} for i in rdsbase_list}
|
||||||
rds_dict.update(rds_dict_temp)
|
rds_dict.update(rds_dict_temp)
|
||||||
|
|
Loading…
Reference in New Issue