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 empty dns #18

Merged
merged 5 commits into from
Oct 20, 2016
Merged

Fix empty dns #18

merged 5 commits into from
Oct 20, 2016

Conversation

jreidinger
Copy link
Member

No description provided.

# for primary dns ip can be used
valid_ip = ["zone_ip", "reverse_ip"].include?(w) && IP.Check4(value)
# for dns also empty value can be used
default_ip = ["zone_ip", "reverse_ip"].include?(w) && value.empty?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NP: I'd e.g. put ["zone_ip", "reverse_ip"].include?(w) into dedicated variable.

@mchf
Copy link
Member

mchf commented Oct 20, 2016

Just one NP - not important - otherwise LGTM

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e4aeb68 on fix_empty_dns into * on master*.

@mchf
Copy link
Member

mchf commented Oct 20, 2016

nice thanks. lgtm

@jreidinger jreidinger merged commit 0d7d068 into master Oct 20, 2016
@jreidinger jreidinger deleted the fix_empty_dns branch October 20, 2016 08:14
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.

None yet

3 participants