Update alicloud.py fix #94

pull/122/head
StarsL.cn 2023-10-09 14:40:23 +08:00 committed by GitHub
parent 15aaf06093
commit 109cbe5891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ def rds(account,region):
'status':i['DBInstanceStatus'],
'itype':i['DBInstanceType'],
'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':''
} for i in rdsbase_list}
rds_dict.update(rds_dict_temp)