mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #1461] [MERGED] Fix: Search for tags in correct variable #1405
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/1461
Author: @wbvanderbroek
Created: 6/22/2025
Status: ✅ Merged
Merged: 6/26/2025
Merged by: @lancepioch
Base:
main← Head:fix/server-tags📝 Commits (1)
d12f80aFix: Search for tags in correct variable📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
app/Services/Servers/ServerCreationService.php(+1 -1)📄 Description
Previously creating a server through the api on a specific node wouldn't work with something like this in the payload:
"deploy" => [
"dedicated_ip" => false,
"tags" => ["yournodetag"],
"port_range" => []
],
Because the tag would be completely erased by the validator. And would only be stored in the deployment variable.
This will fix that by using the deployment variable instead of the data variable
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.