mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 21:34:45 +02:00
Fix StoreServerRequest
for deployment (#1031)
This commit is contained in:
parent
1e7a901371
commit
fe8e6fcfda
@ -55,9 +55,11 @@ class StoreServerRequest extends ApplicationApiRequest
|
|||||||
|
|
||||||
// Automatic deployment rules
|
// Automatic deployment rules
|
||||||
'deploy' => 'sometimes|required|array',
|
'deploy' => 'sometimes|required|array',
|
||||||
'deploy.locations' => 'array',
|
'deploy.locations' => 'sometimes|array',
|
||||||
'deploy.locations.*' => 'required_with:deploy.locations,integer|min:1',
|
'deploy.locations.*' => 'required_with:deploy.locations|integer|min:1',
|
||||||
'deploy.dedicated_ip' => 'required_with:deploy,boolean',
|
'deploy.tags' => 'array',
|
||||||
|
'deploy.tags.*' => 'required_with:deploy.tags|string|min:1',
|
||||||
|
'deploy.dedicated_ip' => 'required_with:deploy|boolean',
|
||||||
'deploy.port_range' => 'array',
|
'deploy.port_range' => 'array',
|
||||||
'deploy.port_range.*' => 'string',
|
'deploy.port_range.*' => 'string',
|
||||||
'start_on_completion' => 'sometimes|boolean',
|
'start_on_completion' => 'sometimes|boolean',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user