forked from Alex/Pterodactyl-Panel
Update Server.php
Fails rules, will look at later in time.
This commit is contained in:
parent
b351c07d34
commit
5f90e5f104
@ -105,7 +105,6 @@ class Server extends Validable
|
||||
'swap' => 'required|numeric|min:-1',
|
||||
'io' => 'required|numeric|between:10,1000',
|
||||
'cpu' => 'required|numeric|min:0',
|
||||
'threads' => 'present|nullable|regex:/^([\d-,]+)$/',
|
||||
'oom_disabled' => 'sometimes|boolean',
|
||||
'disk' => 'required|numeric|min:0',
|
||||
'allocation_id' => 'required|bail|unique:servers|exists:allocations,id',
|
||||
@ -135,7 +134,6 @@ class Server extends Validable
|
||||
'disk' => 'integer',
|
||||
'io' => 'integer',
|
||||
'cpu' => 'integer',
|
||||
'threads' => 'string',
|
||||
'oom_disabled' => 'boolean',
|
||||
'allocation_id' => 'integer',
|
||||
'nest_id' => 'integer',
|
||||
|
Loading…
Reference in New Issue
Block a user