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

(maint) ensure no nil dereference in find_in_interfaces #2638

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

jonathannewman
Copy link
Contributor

This adds a simple check to ensure that find_in_interfaces does not attempt to dereference a nil argument. It resolves #2637

@jonathannewman jonathannewman requested a review from a team as a code owner November 13, 2023 19:04
This adds a simple check to ensure that `find_in_interfaces` does not
attempt to dereference a nil argument.  It resolves puppetlabs#2637
@joshcooper joshcooper merged commit c813235 into puppetlabs:main Nov 15, 2023
@joshcooper joshcooper added the bug Something isn't working label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

networking/primary_interface "find_in_interfaces" fails to handle nil interfaces gracefully
2 participants