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

Fix undef eq comparison #1363

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Fix undef eq comparison #1363

merged 1 commit into from
Jun 17, 2024

Conversation

tgreenx
Copy link
Contributor

@tgreenx tgreenx commented Jun 17, 2024

Purpose

This PR fixes an oversight from #1343.

Changes

  • Set default value of properties 'resolver.source{4,6}' in Profile.pm

How to test this PR

Checks should now pass.

@tgreenx tgreenx added the V-Patch Versioning: The change gives an update of patch in version. label Jun 17, 2024
@tgreenx tgreenx added this to the v2024.1 milestone Jun 17, 2024
marc-vanderwal
marc-vanderwal previously approved these changes Jun 17, 2024
@mattias-p
Copy link
Member

I disagree with the premise of this PR. For the effective profile, all properties are always set, i.e. they have defined values. If $src_address is ever undef here then we have a bug in the profile module and we should fix it there instead.

@tgreenx tgreenx merged commit f1f3c07 into zonemaster:develop Jun 17, 2024
3 checks passed
@tgreenx tgreenx deleted the fix-init-eq branch June 17, 2024 14:08
@mattias-p mattias-p self-assigned this Jun 25, 2024
@mattias-p
Copy link
Member

Release testing for v2024.1

I've verified that the default profile contains the default values for "resolver.source4" and "resolver.source6".

@mattias-p mattias-p added the S-ReleaseTested Status: The PR has been successfully tested in release testing label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-ReleaseTested Status: The PR has been successfully tested in release testing V-Patch Versioning: The change gives an update of patch in version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants