chore: prepare for PR
This commit is contained in:
parent
fc8f18a534
commit
76084ce69b
1 changed files with 3 additions and 2 deletions
|
|
@ -2777,9 +2777,10 @@ private function generate_healthcheck_commands()
|
|||
{
|
||||
// Handle CMD type healthcheck
|
||||
if ($this->application->health_check_type === 'cmd' && ! empty($this->application->health_check_command)) {
|
||||
$this->full_healthcheck_url = $this->application->health_check_command;
|
||||
$command = str_replace(["\r\n", "\r", "\n"], ' ', $this->application->health_check_command);
|
||||
$this->full_healthcheck_url = $command;
|
||||
|
||||
return $this->application->health_check_command;
|
||||
return $command;
|
||||
}
|
||||
|
||||
// HTTP type healthcheck (default)
|
||||
|
|
|
|||
Loading…
Reference in a new issue