Skip to content

Commit

Permalink
Merge pull request #28 from Xelon-AG/feat/import
Browse files Browse the repository at this point in the history
fix: check param exists, add floppy class
  • Loading branch information
gazhur94 authored Aug 31, 2023
2 parents d0c3a12 + 5c69f65 commit e8a97b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Soap/SoapImportApis.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function importVApp(string $resourcePoolId, $entityConfig, $instantiation
],
'firmware' => $configSpec->firmware ?? null,
'nestedHVEnabled' => $configSpec->nestedHVEnabled ?? null,
'sgxInfo' => $configSpec->sgxInfo ? [
'sgxInfo' => isset($configSpec->sgxInfo) ? [
'epcSize' => $configSpec->sgxInfo->epcSize ?? null,
'flcMode' => $configSpec->sgxInfo->flcMode ?? null,
'lePubKeyHash' => $configSpec->sgxInfo->lePubKeyHash ?? null,
Expand Down
8 changes: 8 additions & 0 deletions src/Types/VirtualFloppyRemoteDeviceBackingInfo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace Xelon\VmWareClient\Types;

class VirtualFloppyRemoteDeviceBackingInfo extends VirtualDeviceRemoteDeviceBackingInfo
{

}

0 comments on commit e8a97b1

Please sign in to comment.