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

Adjust ip handling for multiple return types #7

Merged
merged 1 commit into from
Nov 5, 2019
Merged

Conversation

mbeacom
Copy link
Contributor

@mbeacom mbeacom commented Nov 5, 2019

The goal of this PR is to fix #6 by checking data obj element types and handling them accordingly.
There is still some guess work occurring here. If a user wants to capture all interface addresses and the API responds with multiple data sources for the same resource, it could be missed with this implementation. I don't think it's a huge deal for now, though.

@mbeacom mbeacom added bug Something isn't working enhancement New feature or request python Python related updates or issues labels Nov 5, 2019
@mbeacom mbeacom requested a review from twarnock November 5, 2019 16:11
@mbeacom mbeacom self-assigned this Nov 5, 2019
@mbeacom mbeacom merged commit 3c979d0 into master Nov 5, 2019
@mbeacom mbeacom deleted the fix-get-app-ips branch November 5, 2019 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request python Python related updates or issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix IP address retrieval by app stack to handle grab bag of response types
1 participant