[PR #658] [MERGED] Check if peer name change before update labels #12837

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

📋 Pull Request Information

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

Base: mainHead: modify-label-if-change


📝 Commits (1)

  • f63c655 Check if peer name change before update labels

📊 Changes

1 file changed (+10 additions, -9 deletions)

View changed files

📝 management/server/peer.go (+10 -9)

📄 Description

Describe your changes

Before, we assumed that the name should be changed and tried to generate another peer label without considering if there was a change to the name actually made.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • 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/658 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 1/20/2023 **Status:** ✅ Merged **Merged:** 1/20/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `modify-label-if-change` --- ### 📝 Commits (1) - [`f63c655`](https://github.com/netbirdio/netbird/commit/f63c655fcb432bc7df4fbbfaa76252081587cb93) Check if peer name change before update labels ### 📊 Changes **1 file changed** (+10 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `management/server/peer.go` (+10 -9) </details> ### 📄 Description ## Describe your changes Before, we assumed that the name should be changed and tried to generate another peer label without considering if there was a change to the name actually made. ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] 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 02:06:48 -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#12837