Update Server.php
Fails rules, will look at later in time.
This commit is contained in:
parent
b351c07d34
commit
5f90e5f104
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue