Browse Source

disable cpu downgrade on running VM

andre 4 years ago
parent
commit
83cd13dee1
1 changed files with 0 additions and 9 deletions
  1. 0 9
      app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

+ 0 - 9
app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

@@ -93,15 +93,6 @@ class GeneralSection extends BaseSection
         }
         //vcpus
         if($this->configuration()->isPermissionVcpus() || $this->configuration()->isCalculateSocketsAndCores()){
-
-            logModuleCall(
-                'proxmoxCloud',
-                __FUNCTION__,
-                $vm->config(),
-                'Debug',
-                $this->configuration()
-            );
-
             if(!$vm->isRunning()) {
                 $field = new Range('vcpus',$this->resourceManager->vcpus()->getMin(), $this->resourceManager->vcpus()->free());
                 $field->addValidator(new NumberValidator($this->resourceManager->vcpus()->getMin(), $this->resourceManager->vcpus()->free(),true));