-
Notifications
You must be signed in to change notification settings - Fork 80
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
Support for IPv6 clusters #370
Conversation
e2024ea
to
4ae5bef
Compare
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.
thanks for the contribute.
supporting ipv6 looks good.
and i found that conn
does not closed after testing port open.
which is not actually included in the issue.
but can you check that? i guess conn
should be closed.
// Test if the port is open
conn, err := net.DialTimeout("tcp", address, 1*time.Second)
if err != nil {
return "", err
}
No idea if this works. This is literally my first Go code (my "hello world" but IPv6 attempt). Hopefully fixes k8sgpt-ai#369 closes k8sgpt-ai#369 Signed-off-by: Sam Gleske <sam.mxracer@gmail.com>
* Return err instead of nil * Defer connection closing Signed-off-by: JuHyung Son <sonju0427@gmail.com> Signed-off-by: Sam Gleske <sam.mxracer@gmail.com> Co-authored-by: JuHyung Son <sonju0427@gmail.com>
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.
looks good to me.
thanks for important contribute
This doesn't appear to have been added to the v0.1.1 release notes |
The pull request isn't a conventional commit e.g. feat/chore, so unfortunately the bot didn't pick it up and I didn't notice. |
No worries I was curious is all |
The contributing doc doesn't cover specially formatted commit messages |
@AlexsJones can you manually update release notes for v0.1.1 GH release to include mention of the new feature? I also suggest updating contributing with what you expect to be specifically formatted messages when contributors open PRs. I'm still not entirely certain what it needed to be. |
@AlexsJones please update the 0.1.1 release notes with my contribution of IPv6 support |
1 similar comment
@AlexsJones please update the 0.1.1 release notes with my contribution of IPv6 support |
@AlexsJones it's not like I was paid for my development time. Attribution is pretty big deal to me and in my opinion I provided you with a major networking feature (IPv6). It's not great that you're choosing to ignore me and not attribute my work in the release notes. People who follow this project would have seen it so it would have been best on release. At the very least, updating them after the fact is the next best thing. Please update the release notes for 0.1.1 release. |
No idea if this works. This is literally my first Go code (my "hello world" but IPv6 attempt).
Closes #369
📑 Description
Detect if a
ClusterIP
is IPv6 or IPv4. Choose the appropriate string format based on Go documentation.https://pkg.go.dev/net
I've tested locally that it compiles with
make
. I've not done any extra testing beyond that. My development environment is Ubuntu 22.04.✅ Checks
ℹ Additional Information
I've successfully run
make test
from my development environment.