[PR #1801] [CLOSED] fix: keep the update channel from being cleaned up #2325

Closed
opened 2025-12-29 03:20:47 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1801
Author: @eNdiD
Created: 2/29/2024
Status: Closed

Base: mainHead: fix/1798_help-update-channel


📝 Commits (2)

  • 9cf963a fix: keep the update channel from being cleaned up
  • abe4986 Merge branch 'juanfont:main' into fix/1798_help-update-channel

📊 Changes

1 file changed (+17 additions, -0 deletions)

View changed files

📝 hscontrol/notifier/notifier.go (+17 -0)

📄 Description

  • add counter in Notifier for every machineKey
  • do not remove channel if counter is more than 1
  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Fixes #1798


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/1801 **Author:** [@eNdiD](https://github.com/eNdiD) **Created:** 2/29/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/1798_help-update-channel` --- ### 📝 Commits (2) - [`9cf963a`](https://github.com/juanfont/headscale/commit/9cf963a1f1fabdeba37d4746f926284ab6d971e3) fix: keep the update channel from being cleaned up - [`abe4986`](https://github.com/juanfont/headscale/commit/abe49861c0402b7fa8f284b847d8a5e8bdbfdf81) Merge branch 'juanfont:main' into fix/1798_help-update-channel ### 📊 Changes **1 file changed** (+17 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/notifier/notifier.go` (+17 -0) </details> ### 📄 Description - add counter in Notifier for every machineKey - do not remove channel if counter is more than 1 <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> Fixes #1798 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:20:47 +01:00
adam closed this issue 2025-12-29 03:20:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2325