[PR #645] [MERGED] Use configuration input struct #12820

Closed
opened 2026-08-05 02:06:45 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/645
Author: @mlsmaycon
Created: 1/7/2023
Status: Merged
Merged: 1/8/2023
Merged by: @mlsmaycon

Base: mainHead: refactor/use-config-input-struct


📝 Commits (1)

  • 9f5f277 Use configuration input struct

📊 Changes

7 files changed (+91 additions, -41 deletions)

View changed files

📝 client/cmd/login.go (+6 -1)
📝 client/cmd/ssh.go (+3 -1)
📝 client/cmd/up.go (+6 -1)
📝 client/internal/config.go (+38 -31)
📝 client/internal/config_test.go (+18 -3)
📝 client/internal/connect.go (+4 -1)
📝 client/server/server.go (+16 -3)

📄 Description

Describe your changes

As we will be passing more flags to configure local agents, we need a more flexible type

Checklist

  • Is a feature enhancement

🔄 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/netbirdio/netbird/pull/645 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 1/7/2023 **Status:** ✅ Merged **Merged:** 1/8/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `refactor/use-config-input-struct` --- ### 📝 Commits (1) - [`9f5f277`](https://github.com/netbirdio/netbird/commit/9f5f277f24e650fc6f01c4d81bd6331abbe1bece) Use configuration input struct ### 📊 Changes **7 files changed** (+91 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/login.go` (+6 -1) 📝 `client/cmd/ssh.go` (+3 -1) 📝 `client/cmd/up.go` (+6 -1) 📝 `client/internal/config.go` (+38 -31) 📝 `client/internal/config_test.go` (+18 -3) 📝 `client/internal/connect.go` (+4 -1) 📝 `client/server/server.go` (+16 -3) </details> ### 📄 Description ## Describe your changes As we will be passing more flags to configure local agents, we need a more flexible type ## Issue ticket number and link ### Checklist - [x] Is a feature enhancement --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:45 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12820