mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
Unused prefix in generated name #130
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?
Originally created by @rmartinoscar on GitHub (Jul 12, 2024).
Current Behavior
The $prefix (egg name) is not used in the random name generator of CreateServer because egg is selected later so it will only take effect if you set the egg then compe back to the first step
CreateServer.php
Expected Behavior
The egg should be set to the first one it finds so when you generate a name its EggName-RandomWord
Steps to Reproduce
Create a server, generate a random name then go to the egg section, select any go back and regen the name
Panel Version
1.0.0-beta6
Wings Version
1.0.0-beta3
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
@notAreYouScared commented on GitHub (Jul 13, 2024):
This line is saying if no egg, return
'', if egg kebab iteggname-{random bird name}Working as intended.