Skip to content

Use dict.get method for PublicIpAddress retrieval#535

Open
benharvey-sage wants to merge 1 commit into
RhinoSecurityLabs:masterfrom
benharvey-sage:patch-1
Open

Use dict.get method for PublicIpAddress retrieval#535
benharvey-sage wants to merge 1 commit into
RhinoSecurityLabs:masterfrom
benharvey-sage:patch-1

Conversation

@benharvey-sage

Copy link
Copy Markdown

Direct dictionary access when processing
instances returned from paginated results caused a KeyError if there was no public IP. Replaced with dict.get() retrieval

Direct dictionary access when processing
instances returned from paginated results caused a KeyError if there was no public IP. Replaced with dict.get() retrieval
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.

1 participant