andre 2 anni fa
parent
commit
c278a0d342
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/UI/VmCreate/Validators/DiskSizeValidator.php

+ 1 - 1
app/UI/VmCreate/Validators/DiskSizeValidator.php

@@ -47,7 +47,7 @@ class DiskSizeValidator extends BaseValidator
             __FUNCTION__,
             __FUNCTION__,
             'min: ' . $this->minValue . '  max: ' . $this->maxValue,
             'min: ' . $this->minValue . '  max: ' . $this->maxValue,
             'Debug1',
             'Debug1',
-            'data: ' . $data . '  resMax: ' . $diskResource->getMax()
+            'data: ' . $data . '  resMax: ' . $diskResource->getMax() . '  free: ' . $diskResource->free()
         );
         );
 
 
         if ($this->maxValue > $diskResource->getMax()) {
         if ($this->maxValue > $diskResource->getMax()) {