[PR #1901] [MERGED] chore: use errors.New to replace fmt.Errorf with no parameters will much better. #2385

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1901
Author: @ChengenH
Created: 4/21/2024
Status: Merged
Merged: 4/21/2024
Merged by: @juanfont

Base: mainHead: main


📝 Commits (1)

  • 5ae91d4 chore: use errors.New to replace fmt.Errorf with no parameters will much better

📊 Changes

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

View changed files

📝 hscontrol/grpcv1.go (+3 -4)

📄 Description

use errors.New to replace fmt.Errorf with no parameters will much better.


🔄 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/1901 **Author:** [@ChengenH](https://github.com/ChengenH) **Created:** 4/21/2024 **Status:** ✅ Merged **Merged:** 4/21/2024 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`5ae91d4`](https://github.com/juanfont/headscale/commit/5ae91d4a5bc2f9c56297609ac23b8023b04ec52d) chore: use errors.New to replace fmt.Errorf with no parameters will much better ### 📊 Changes **1 file changed** (+3 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/grpcv1.go` (+3 -4) </details> ### 📄 Description use errors.New to replace fmt.Errorf with no parameters will much better. --- <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:21:01 +01:00
adam closed this issue 2025-12-29 03:21:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2385