[PR #2658] [MERGED] remove unneeded check #2786

Closed
opened 2025-12-29 04:18:58 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2658
Author: @stavros-k
Created: 6/25/2025
Status: Merged
Merged: 7/4/2025
Merged by: @nblock

Base: mainHead: noise-check


📝 Commits (3)

📊 Changes

2 files changed (+3 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 hscontrol/types/config.go (+1 -1)

📄 Description

  • have read the CONTRIBUTING.md file
  • 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

There is no need to check if parent is set here, we only care if the specific key is set.
Before this change, only by applying env HEADSCALE_NOISE_PRIVATE_KEY_PATH=/some/path would trigger this error.
I had to also set env HEADSCALE_NOISE=true to bypass it.


🔄 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/2658 **Author:** [@stavros-k](https://github.com/stavros-k) **Created:** 6/25/2025 **Status:** ✅ Merged **Merged:** 7/4/2025 **Merged by:** [@nblock](https://github.com/nblock) **Base:** `main` ← **Head:** `noise-check` --- ### 📝 Commits (3) - [`37ff918`](https://github.com/juanfont/headscale/commit/37ff9188337e48e55156a163ca4e417a66b0595b) remove unneeded check - [`02d8e12`](https://github.com/juanfont/headscale/commit/02d8e120dcc0420f03ed5143f00e2e9369f518cb) add changelog entry - [`4ace151`](https://github.com/juanfont/headscale/commit/4ace1515ea83c45c7d28299e29ebc2e44c338cd9) Merge branch 'main' into noise-check ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `hscontrol/types/config.go` (+1 -1) </details> ### 📄 Description <!-- 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… --> - [ ] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [x] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> There is no need to check if parent is set here, we only care if the specific key is set. Before this change, only by applying env `HEADSCALE_NOISE_PRIVATE_KEY_PATH=/some/path` would trigger this error. I had to also set env `HEADSCALE_NOISE=true` to bypass it. --- <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 04:18:58 +01:00
adam closed this issue 2025-12-29 04:18:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2786