From 5f90e5f1048ab20a2d2b24c54649eda48f4857a6 Mon Sep 17 00:00:00 2001 From: AreYouScared Date: Sun, 29 Mar 2020 17:00:50 -0400 Subject: [PATCH] Update Server.php Fails rules, will look at later in time. --- app/Models/Server.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Models/Server.php b/app/Models/Server.php index 0ccd0080..9bdb19ff 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -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',