[PR #1353] [MERGED] Extend add peer event meta with setup key name #15275

Closed
opened 2026-08-05 03:07:19 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1353
Author: @pascal-fischer
Created: 12/4/2023
Status: Merged
Merged: 12/4/2023
Merged by: @pascal-fischer

Base: mainHead: feature/extend-add-peer-event-with-setup-key


📝 Commits (2)

  • 1cd5a66 adding setup key name to the event meta for adding peers by setup key
  • 92adf57 fix map assignment

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 management/server/peer.go (+6 -0)

📄 Description

Describe your changes

We want to show the user the name of the setup key instead of the key ID. This PR adds the name of a setup key to the event on peer add.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/1353 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 12/4/2023 **Status:** ✅ Merged **Merged:** 12/4/2023 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `feature/extend-add-peer-event-with-setup-key` --- ### 📝 Commits (2) - [`1cd5a66`](https://github.com/netbirdio/netbird/commit/1cd5a66575695324b86e0cda6804e573f789a851) adding setup key name to the event meta for adding peers by setup key - [`92adf57`](https://github.com/netbirdio/netbird/commit/92adf57fea25258726f75d0b510659def823db52) fix map assignment ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `management/server/peer.go` (+6 -0) </details> ### 📄 Description ## Describe your changes We want to show the user the name of the setup key instead of the key ID. This PR adds the name of a setup key to the event on peer add. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 03:07:19 -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#15275