[PR #2252] [MERGED] Avoid empty domain overwrite #14869

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2252
Author: @pascal-fischer
Created: 7/10/2024
Status: Merged
Merged: 7/10/2024
Merged by: @pascal-fischer

Base: mainHead: fix/empty-domain-overwrite


📝 Commits (1)

📊 Changes

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

View changed files

📝 management/server/user.go (+1 -1)

📄 Description

Describe your changes

We noticed occasional overwrites on the domain field with empty strings which was causing unneccessary updates. This PR checks this.

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/2252 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 7/10/2024 **Status:** ✅ Merged **Merged:** 7/10/2024 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `fix/empty-domain-overwrite` --- ### 📝 Commits (1) - [`34ccc8c`](https://github.com/netbirdio/netbird/commit/34ccc8c6f819471cdbf6a5dee2e63ef32445c1f4) check for empty domain ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `management/server/user.go` (+1 -1) </details> ### 📄 Description ## Describe your changes We noticed occasional overwrites on the domain field with empty strings which was causing unneccessary updates. This PR checks this. ## Issue ticket number and link ### Checklist - [x] 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 --- <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:06:29 -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#14869