Update health check validation rules in HealthChecks.php

This commit is contained in:
Andras Bacsai 2024-04-29 12:55:10 +02:00
parent d400ac57d5
commit 0c516843d8

View File

@ -17,9 +17,9 @@ class HealthChecks extends Component
'resource.health_check_return_code' => 'integer', 'resource.health_check_return_code' => 'integer',
'resource.health_check_scheme' => 'string', 'resource.health_check_scheme' => 'string',
'resource.health_check_response_text' => 'nullable|string', 'resource.health_check_response_text' => 'nullable|string',
'resource.health_check_interval' => 'integer', 'resource.health_check_interval' => 'integer|min:1',
'resource.health_check_timeout' => 'integer', 'resource.health_check_timeout' => 'integer|min:1',
'resource.health_check_retries' => 'integer', 'resource.health_check_retries' => 'integer|min:1',
'resource.health_check_start_period' => 'integer', 'resource.health_check_start_period' => 'integer',
]; ];