mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[PR #280] [MERGED] fix(healthcheck): Support ipv6 healthchecks #1626
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/280
Author: @LaurenceJJones
Created: 3/18/2026
Status: ✅ Merged
Merged: 3/18/2026
Merged by: @oschwartz10612
Base:
dev← Head:fix/healthcheck-ipv6📝 Commits (1)
8fda35dfix(healthcheck): Support ipv6 healthchecks📊 Changes
1 file changed (+6 additions, -3 deletions)
View changed files
📝
healthcheck/healthcheck.go(+6 -3)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Currently we are doing fmt.sprintf on hostname and port which will not properly handle ipv6 addresses, instead of changing pangolin to send bracketed address a simply net.join can do this for us since we dont need to parse a formatted string
How to test?
Enabling healthchecks on a ipv6 address will now work as intended.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.