Browse Source

add ressource validator

andre 4 years ago
parent
commit
b683fa554f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/UI/VmCreate/Validators/RessourceValidator.php

+ 1 - 2
app/UI/VmCreate/Validators/RessourceValidator.php

@@ -15,13 +15,12 @@ class RessourceValidator extends BaseValidator
     {
         $resurceManager = new ResourceManager();
         $additionalSize = 0;
-        $templateName = (int) $additionalData->get('formData')['osTemplate'];
         $diskResource = $resurceManager ->disk();
 
         logModuleCall(
             'proxmoxCloud',
             __FUNCTION__,
-            $templateName,
+            $data,
             'Debug',
             $diskResource
         );