mirror of
https://github.com/fosrl/olm.git
synced 2026-05-06 10:47:55 -05:00
[GH-ISSUE #106] handleWgPeerUpdate does not merge alias updates #318
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?
Originally created by @LaurenceJJones on GitHub (Mar 20, 2026).
Original GitHub issue: https://github.com/fosrl/olm/issues/106
In handleWgPeerUpdate
703fe4fe5d/olm/peer.go (L117-L185)we merge several mutable fields from peers.SiteConfig, but we never copy Aliases.
As a result, alias changes delivered via the update-peer websocket path never reach PeerManager.UpdatePeer(), even though UpdatePeer() already removes and re-adds alias DNS records when siteConfig.Aliases changes.
Expected:
Actual:
@github-actions[bot] commented on GitHub (Apr 4, 2026):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@LaurenceJJones commented on GitHub (Apr 6, 2026):
Adding to triage and commenting to remove stale tag