Skip to content
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

Refactor get_ec2_instance_ip logic #28

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

nikolas
Copy link
Member

@nikolas nikolas commented Aug 15, 2024

I've refactored the try blocks to only contain the lines which would fail with the expected exception. This is the general best practice we use with try/except.

I've refactored the `try` blocks to only contain the lines which would
fail with the expected exception. This is the general best practice we
use with try/except.
@nikolas nikolas force-pushed the ec2-instance-ip-refactor branch from 05dffd7 to 3023fb9 Compare August 15, 2024 17:33
@nikolas nikolas merged commit f3d9a67 into main Aug 15, 2024
2 checks passed
@ndittren ndittren deleted the ec2-instance-ip-refactor branch October 22, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants