[PR #1426] [MERGED] Fix Windows name on WMI error #13673

Open
opened 2026-08-05 02:08:51 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1426
Author: @mlsmaycon
Created: 1/1/2024
Status: Merged
Merged: 1/1/2024
Merged by: @mlsmaycon

Base: mainHead: fix/windows-name-on-wmi-error


📝 Commits (1)

  • b7fffcb Fix Windows name on WMI error

📊 Changes

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

View changed files

📝 client/system/info_windows.go (+2 -1)

📄 Description

Describe your changes

Before, netbird would exit and prevent the agent from starting if getting the system name using WMI was an issue.

This change returns a default value in this case

#1418

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/1426 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 1/1/2024 **Status:** ✅ Merged **Merged:** 1/1/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/windows-name-on-wmi-error` --- ### 📝 Commits (1) - [`b7fffcb`](https://github.com/netbirdio/netbird/commit/b7fffcbd1931775564657c85da73b4f126cd1c49) Fix Windows name on WMI error ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/system/info_windows.go` (+2 -1) </details> ### 📄 Description ## Describe your changes Before, netbird would exit and prevent the agent from starting if getting the system name using WMI was an issue. This change returns a default value in this case ## Issue ticket number and link #1418 ### 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 02:08:51 -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#13673