[PR #729] [MERGED] Remove mgm close steps, in defer doing it already #12929

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/729
Author: @pappz
Created: 3/7/2023
Status: Merged
Merged: 3/7/2023
Merged by: @pappz

Base: mainHead: login-break-up


📝 Commits (1)

  • 50b404f Remove mgm close steps, in defer doing it already

📊 Changes

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

View changed files

📝 client/internal/login.go (+0 -7)

📄 Description

Describe your changes

Simple code cleaning. Remove duplicated steps in login.
In the defer already close the management connection.

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/729 **Author:** [@pappz](https://github.com/pappz) **Created:** 3/7/2023 **Status:** ✅ Merged **Merged:** 3/7/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `login-break-up` --- ### 📝 Commits (1) - [`50b404f`](https://github.com/netbirdio/netbird/commit/50b404f6358271d976e76bd47f2a4e04e6753110) Remove mgm close steps, in defer doing it already ### 📊 Changes **1 file changed** (+0 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/login.go` (+0 -7) </details> ### 📄 Description ## Describe your changes Simple code cleaning. Remove duplicated steps in login. In the defer already close the management connection. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [x] 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:02 -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#12929