mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #1080] [MERGED] Fix FindViableNodeService to actually filter Tags
#1162
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1080
Author: @thibaultjunin
Created: 3/10/2025
Status: ✅ Merged
Merged: 3/13/2025
Merged by: @rmartinoscar
Base:
main← Head:patch-2📝 Commits (4)
4696157fix viable node service to take into account tagsc358e9bUpdate app/Services/Deployment/FindViableNodesService.php732ffddUpdate FindViableNodesService.php287184cUpdate FindViableNodesService.php📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
app/Services/Deployment/FindViableNodesService.php(+1 -1)📄 Description
Hi,
I found out that tags (or locations_id) were ignored in the endpoint
/nodes/deployable.This PR fixes the issue by checking if the collection is not empty.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.