fix(jobs): initialize status variable in checkHetznerStatus (#8359)
This commit is contained in:
commit
b0eabeaed3
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ public function handle()
|
|||
|
||||
private function checkHetznerStatus(): void
|
||||
{
|
||||
$status = null;
|
||||
|
||||
try {
|
||||
$hetznerService = new \App\Services\HetznerService($this->server->cloudProviderToken->token);
|
||||
$serverData = $hetznerService->getServer($this->server->hetzner_server_id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue