[PR #2644] [MERGED] Fixed typo in parseCapabilityVersion, and removed unused error #2779

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2644
Author: @eyJhb
Created: 6/6/2025
Status: Merged
Merged: 7/4/2025
Merged by: @kradalby

Base: mainHead: hscontrol-handler-typo


📝 Commits (1)

  • f23a12e fix typo in parseCapabilityVersion, and removed unused error (#2644)

📊 Changes

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

View changed files

📝 hscontrol/handlers.go (+2 -3)

📄 Description

Stumbled upon this typo when doing #2643 , and thought I might as well change it.
Discovered that the error is no longer used, after #2398 was merged.

  • 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

🔄 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/2644 **Author:** [@eyJhb](https://github.com/eyJhb) **Created:** 6/6/2025 **Status:** ✅ Merged **Merged:** 7/4/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `hscontrol-handler-typo` --- ### 📝 Commits (1) - [`f23a12e`](https://github.com/juanfont/headscale/commit/f23a12e490179414fa5e9f259aee2728ee0701c7) fix typo in parseCapabilityVersion, and removed unused error (#2644) ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/handlers.go` (+2 -3) </details> ### 📄 Description Stumbled upon this typo when doing #2643 , and thought I might as well change it. Discovered that the error is no longer used, after #2398 was merged. - [x] 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 - [ ] updated CHANGELOG.md --- <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:56 +01:00
adam closed this issue 2025-12-29 04:18:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2779