Explorar el Código

try to reenable vmcreate after delete action

andre hace 4 años
padre
commit
819488eeb1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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