-
Notifications
You must be signed in to change notification settings - Fork 54
update go net version and go verion #1268
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
base: master
Are you sure you want to change the base?
Conversation
@@ -30,7 +31,7 @@ func newVXLANHandler(port int, vnis []int) (*vxlanHandle, error) { | |||
vxlanHandle := &vxlanHandle{} | |||
con, err := net.ListenUDP("udp", &addr) | |||
if err != nil { | |||
return nil, fmt.Errorf(err.Error()) | |||
return nil, fmt.Errorf("failed to create VXLANHandler: %w", err) |
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.
Something needed to change here cause Go 1.24 causes an error when we use fmt.Errorf
without args. That said I could have easily instead just done return nil, err
or return nil, fmt.Error(err.Error())
of something like that if we preferred.
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.
So I removed the entire jekyll site since a) it was flagged with vulns from old ruby gem versions and b) it appeared unused.
Its fair, reduce vurneability surface |
|
No description provided.