mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #1552] [CLOSED] use condition instead of status #1451
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/1552
Author: @hasyirin
Created: 7/22/2025
Status: ❌ Closed
Base:
main← Head:use-condition-in-server-transformers📝 Commits (1)
00ba2fcuse condition instead of status📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
app/Transformers/Api/Application/ServerTransformer.php(+1 -1)📝
app/Transformers/Api/Client/ServerTransformer.php(+1 -1)📄 Description
Server status is null most of the time, I think it should use server condition instead.
Honestly, I think it's better if we deprecate status field and add in a condition field instead, but other deprecated comments in the files are saying to use status field.. so...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.