[PR #1573] [MERGED] Return error when peer is not valid #15567

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1573
Author: @mlsmaycon
Created: 2/12/2024
Status: Merged
Merged: 2/13/2024
Merged by: @mlsmaycon

Base: mainHead: fix/invalid-peer-in-group-request


📝 Commits (1)

  • e3ab6bc Return error when peer is not valid

📊 Changes

2 files changed (+13 additions, -4 deletions)

View changed files

📝 management/server/group.go (+7 -0)
📝 management/server/http/groups_handler.go (+6 -4)

📄 Description

Describe your changes

Return error when peer is not valid and fix count with invalid peers.

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/1573 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 2/12/2024 **Status:** ✅ Merged **Merged:** 2/13/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/invalid-peer-in-group-request` --- ### 📝 Commits (1) - [`e3ab6bc`](https://github.com/netbirdio/netbird/commit/e3ab6bc69d9f548c4e339240bd8d211e2e2da068) Return error when peer is not valid ### 📊 Changes **2 files changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `management/server/group.go` (+7 -0) 📝 `management/server/http/groups_handler.go` (+6 -4) </details> ### 📄 Description ## Describe your changes Return error when peer is not valid and fix count with invalid peers. ## 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:07:58 -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#15567