Update Server.php

Fails rules, will look at later in time.
This commit is contained in:
AreYouScared 2020-03-29 17:00:50 -04:00
parent b351c07d34
commit 5f90e5f104

View file

@ -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',