Pārlūkot izejas kodu

try disable memory downgrade on running VMs

andre 4 gadi atpakaļ
vecāks
revīzija
6febad1d6d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

+ 1 - 1
app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

@@ -131,7 +131,7 @@ class GeneralSection extends BaseSection
             __FUNCTION__,
             $vm->isRunning(),
             'Debug',
-            $vm->getMemory()
+            $vm->getStatus()
         );
 
         $field = new Range('memory', $this->resourceManager->memory()->getMin(), $this->resourceManager->memory()->free());