Ver código fonte

try to reenable vmcreate after delete action

andre 4 anos atrás
pai
commit
819488eeb1
1 arquivos alterados com 2 adições e 2 exclusões
  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