|
|
@@ -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));
|