-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added PendingMaintenanceActionDetails details to describe_pending_mai… #9183
added PendingMaintenanceActionDetails details to describe_pending_mai… #9183
Conversation
…ntenance_actions call
Hi @darrendao @kapilt @thisisshi, can you review the PR when you get a chance, thanks. |
@kapilt @ajkerrigan can you please review/approve this one before next release? CC: @darrendao |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good addition, thanks! 👍
|
||
for r in resources: | ||
if r['DBInstanceArn'] in pending_maintenance: | ||
pending_maintenances = resource_maintenances.get(r['DBInstanceArn'], []) | ||
if len(pending_maintenances) > 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: a truthiness check would be sufficient here and possibly clearer
if len(pending_maintenances) > 0: | |
if pending_maintenances: |
added PendingMaintenanceActionDetails details to describe_pending_maintenance_actions call