update change port

This commit is contained in:
pbao9
2026-01-17 11:27:54 +07:00
parent a79f0041f4
commit 4f2fdbaaa5
14 changed files with 70 additions and 147 deletions
@@ -11,9 +11,9 @@ use Illuminate\View\Component;
class OsServerVersion extends Component
{
public function __construct(
public $model = null,
public vCenter $vCenter,
public vCenterRepositoryInterface $vCenterRepository
public vCenterRepositoryInterface $vCenterRepository,
public $model = null
) {
}
@@ -25,7 +25,7 @@ class OsServerVersion extends Component
protected function fetchVersions()
{
$vCenter = optional($this->model?->osGroup?->host?->datacenter?->vCenter);
$vCenter = $this->model?->osGroup?->host?->datacenter?->vCenter;
if (!$vCenter || !$vCenter->host) {
return null;