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

Gracefully handle a missing IP address #537

Merged
merged 2 commits into from
Sep 23, 2019
Merged

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Sep 20, 2019

Not all machines have an IPv4 address. The datatype is Optional[String] so this is valid.

b6d6100 removed the parameter but
missed one in the tests.
@evgeni
Copy link
Member

evgeni commented Sep 23, 2019

Is there any way we could test this? But the change looks correct to me.

Not all machines have an IPv4 address. The datatype is
`Optional[String]` so this is valid.
@ekohl
Copy link
Member Author

ekohl commented Sep 23, 2019

Added a test

@ekohl ekohl merged commit 777b0c5 into theforeman:master Sep 23, 2019
@ekohl ekohl deleted the optional-ip branch September 23, 2019 09:19
@ekohl ekohl added the Bug label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants