[PR #790] [MERGED] Fix nil pointer exception #13003

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/790
Author: @pappz
Created: 4/6/2023
Status: Merged
Merged: 4/6/2023
Merged by: @pappz

Base: mainHead: fix/mgm_nil_pointer


📝 Commits (1)

  • 5050c6b Fix nil pointer exception

📊 Changes

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

View changed files

📝 client/internal/connect.go (+3 -3)

📄 Description

Describe your changes

Nil pointer exception fix because handle error in wrong order

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/790 **Author:** [@pappz](https://github.com/pappz) **Created:** 4/6/2023 **Status:** ✅ Merged **Merged:** 4/6/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `fix/mgm_nil_pointer` --- ### 📝 Commits (1) - [`5050c6b`](https://github.com/netbirdio/netbird/commit/5050c6be627ab7e6a3292218a73dc06d3aeb4907) Fix nil pointer exception ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/connect.go` (+3 -3) </details> ### 📄 Description ## Describe your changes Nil pointer exception fix because handle error in wrong order ## 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 02:07:13 -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#13003