mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
#591 - monitoring
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
use App\Models\Server;
|
||||
use App\Models\Service;
|
||||
use App\SSH\Services\ServiceInterface;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
|
||||
class UpdateMetricSettings
|
||||
{
|
||||
@ -13,6 +14,8 @@ class UpdateMetricSettings
|
||||
*/
|
||||
public function update(Server $server, array $input): void
|
||||
{
|
||||
Validator::make($input, self::rules())->validate();
|
||||
|
||||
/** @var Service $service */
|
||||
$service = $server->monitoring();
|
||||
/** @var ServiceInterface $handler */
|
||||
|
Reference in New Issue
Block a user