Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows name on WMI error #1426

Merged
merged 1 commit into from Jan 1, 2024
Merged

Conversation

mlsmaycon
Copy link
Collaborator

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

  • 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

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
@mlsmaycon mlsmaycon merged commit 86908ee into main Jan 1, 2024
15 checks passed
@mlsmaycon mlsmaycon deleted the fix/windows-name-on-wmi-error branch January 1, 2024 20:28
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants