Pārlūkot izejas kodu

try to reenable vmcreate after delete action

andre 4 gadi atpakaļ
vecāks
revīzija
819488eeb1
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/Http/Client/Vm.php

+ 2 - 2
app/Http/Client/Vm.php

@@ -58,9 +58,9 @@ class Vm extends AbstractClientController
         logModuleCall(
             'proxmoxCloud',
             __FUNCTION__,
-            $resurceManager->vcpus(),
+            $resurceManager->vcpus()->getMin(),
             'Debug',
-            $this
+            $resurceManager->vcpus()->free()
         );
 
         //deaktivate createVM Button in case of lack of ressources