[PR #2384] [MERGED] clean up handler methods, common logging #2639

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2384
Author: @kradalby
Created: 1/27/2025
Status: Merged
Merged: 1/30/2025
Merged by: @kradalby

Base: mainHead: kradalby/http-handler-clean


📝 Commits (2)

  • a7cb02f clean up handler methods, common logging
  • 2872cd4 streamline http.Error calls

📊 Changes

4 files changed (+53 additions, -241 deletions)

View changed files

📝 hscontrol/handlers.go (+17 -56)
📝 hscontrol/noise.go (+6 -40)
📝 hscontrol/oidc.go (+19 -26)
📝 hscontrol/platform_config.go (+11 -119)

📄 Description

No description provided


🔄 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/2384 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 1/27/2025 **Status:** ✅ Merged **Merged:** 1/30/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/http-handler-clean` --- ### 📝 Commits (2) - [`a7cb02f`](https://github.com/juanfont/headscale/commit/a7cb02fb15165400d0eed5f42ba0491eb85db60b) clean up handler methods, common logging - [`2872cd4`](https://github.com/juanfont/headscale/commit/2872cd43eff3e34a7755e952146b5f65347b38bf) streamline http.Error calls ### 📊 Changes **4 files changed** (+53 additions, -241 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/handlers.go` (+17 -56) 📝 `hscontrol/noise.go` (+6 -40) 📝 `hscontrol/oidc.go` (+19 -26) 📝 `hscontrol/platform_config.go` (+11 -119) </details> ### 📄 Description _No description provided_ --- <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:22:09 +01:00
adam closed this issue 2025-12-29 03:22:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2639