|
|
@@ -60,7 +60,15 @@ class ChangePackage extends AddonController
|
|
|
throw new \Exception('vCPUs wurden unterbucht');
|
|
|
}
|
|
|
if($this->ressource->memory()->getUsed() > $params['configoptions']['Memory Limit']){
|
|
|
- throw new \Exception('Memory wurde unterbucht');
|
|
|
+ logModuleCall(
|
|
|
+ 'proxmoxCloud',
|
|
|
+ __FUNCTION__,
|
|
|
+ $this->ressource->memory()->getUsed(),
|
|
|
+ 'Debug',
|
|
|
+ $params['configoptions']['Memory Limit']
|
|
|
+ );
|
|
|
+
|
|
|
+ //throw new \Exception('Memory wurde unterbucht');
|
|
|
}
|
|
|
if($this->ressource->disk()->getUsed() > $params['configoptions']['Storage Limit']){
|
|
|
throw new \Exception('Storage wurde unterbucht');
|