[PR #5195] [MERGED] pkg/config: fix line numbers shown incorrectly for TOML type mismatch errors #5163

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5195
Author: @fatedier
Created: 3/4/2026
Status: Merged
Merged: 3/4/2026
Merged by: @fatedier

Base: devHead: new


📝 Commits (1)

  • c060ade pkg/config: fix line numbers shown incorrectly for TOML type mismatch errors

📊 Changes

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

View changed files

📝 pkg/config/load.go (+16 -8)
📝 pkg/config/load_test.go (+4 -2)

📄 Description

WHY


🔄 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/5195 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 3/4/2026 **Status:** ✅ Merged **Merged:** 3/4/2026 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`c060ade`](https://github.com/fatedier/frp/commit/c060adeeffee088db1136c732795df2929f444c4) pkg/config: fix line numbers shown incorrectly for TOML type mismatch errors ### 📊 Changes **2 files changed** (+20 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `pkg/config/load.go` (+16 -8) 📝 `pkg/config/load_test.go` (+4 -2) </details> ### 📄 Description ### WHY <!-- author to complete --> --- <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:55:53 -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#5163
No description provided.