|
|
@@ -36,6 +36,14 @@ class DiskSizeValidator extends BaseValidator
|
|
|
$this->maxValue = $diskResource->free();
|
|
|
$this->minValue = $diskResource->getMin();
|
|
|
|
|
|
+ logModuleCall(
|
|
|
+ 'proxmoxCloud',
|
|
|
+ __FUNCTION__,
|
|
|
+ $diskResource,
|
|
|
+ 'Debug',
|
|
|
+ $data
|
|
|
+ );
|
|
|
+
|
|
|
if(preg_match("/\./", $data)){
|
|
|
$this->addValidationError('PleaseProvideANumericValueBetween', false, ['minValue' => $this->minValue, 'maxValue' => $this->maxValue]);
|
|
|
return false;
|