mirror of
https://github.com/pelican-dev/panel.git
synced 2025-09-17 21:24:50 +02:00
make startup_commands values distinct
This commit is contained in:
parent
0880868e34
commit
2fa0fc9d6f
@ -111,7 +111,7 @@ class Egg extends Model implements Validatable
|
||||
'docker_images' => ['required', 'array', 'min:1'],
|
||||
'docker_images.*' => ['required', 'string'],
|
||||
'startup_commands' => ['required', 'array', 'min:1'],
|
||||
'startup_commands.*' => ['required', 'string'],
|
||||
'startup_commands.*' => ['required', 'string', 'distinct'],
|
||||
'config_from' => ['sometimes', 'bail', 'nullable', 'numeric', 'exists:eggs,id'],
|
||||
'config_stop' => ['required_without:config_from', 'nullable', 'string', 'max:255'],
|
||||
'config_startup' => ['required_without:config_from', 'nullable', 'json'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user