-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Remove dependency on dnscontrol #3941
Remove dependency on dnscontrol #3941
Conversation
Welcome @TomOnTime! |
Hi @TomOnTime. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ok-to-test
pkg/rfc2317/arpa.go
Outdated
ip := net.ParseIP(cidr) | ||
if ip != nil { | ||
if ip.To4() != nil { | ||
cidr = cidr + "/32" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this produces incorrect results for IPv4-mapped IPv6 addresses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
pkg/rfc2317/arpa_test.go
Outdated
func TestCidrToInAddr(t *testing.T) { | ||
var tests = []struct { | ||
in string | ||
isError bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer having this be a string
, with the test asserting that the returned error has the specified message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Please sign the CLA as instructed. |
@johngmyers I have signed the CLA as instructed. Can you verify it went through? I suspect EasyCLA confused my two Github accounts. |
Co-authored-by: John Gardiner Myers <[email protected]>
Co-authored-by: John Gardiner Myers <[email protected]>
I've addressed all the concerns. PTAL |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johngmyers The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Eliminate the dependency on dnscontrol. The infoblox provider imports dnscontrol solely to use one function. go.mod lists a version of dnscontrol that was recalled.
Fixes #3887
Checklist