[PR #2858] [CLOSED] Fixed go vet warnings #4642

Closed
opened 2026-05-05 14:45:56 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2858
Author: @dzyanis
Created: 3/19/2022
Status: Closed

Base: devHead: fix-go-vet-warnings


📝 Commits (1)

📊 Changes

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

View changed files

📝 cmd/frpc/sub/root.go (+1 -1)
📝 test/e2e/plugin/server.go (+1 -1)

📄 Description

Fixed go vet warnings:

$ go vet ./...
# github.com/fatedier/frp/test/e2e/plugin
test/e2e/plugin/server.go:148:18: Sprintf call needs 1 arg but has 2 args
# github.com/fatedier/frp/cmd/frpc/sub
cmd/frpc/sub/root.go:125:2: misuse of unbuffered os.Signal channel as argument to signal.Notify

🔄 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/fatedier/frp/pull/2858 **Author:** [@dzyanis](https://github.com/dzyanis) **Created:** 3/19/2022 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix-go-vet-warnings` --- ### 📝 Commits (1) - [`c3ecc8c`](https://github.com/fatedier/frp/commit/c3ecc8c1456bccf667ae0805b7e28c51f1e0dee4) fixed govet warnings ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cmd/frpc/sub/root.go` (+1 -1) 📝 `test/e2e/plugin/server.go` (+1 -1) </details> ### 📄 Description Fixed go vet warnings: ```bash $ go vet ./... # github.com/fatedier/frp/test/e2e/plugin test/e2e/plugin/server.go:148:18: Sprintf call needs 1 arg but has 2 args # github.com/fatedier/frp/cmd/frpc/sub cmd/frpc/sub/root.go:125:2: misuse of unbuffered os.Signal channel as argument to signal.Notify ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:45:56 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4642
No description provided.