mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 12:22:38 +09:00
Fix check in updateconf for non-running VMs
(cherry picked from commit 2f523660a7)
This commit is contained in:
1 parent
d6e290dec2
commit
5806aed256
1 file changed
+1
-1
@@ -2941,7 +2941,7 @@ void VirtualMachineUpdateConf::request_execute(
|
||||
int rc;
|
||||
int cluster_id;
|
||||
|
||||
if (graphics != 0 && graphics->vector_value("PORT", port) != 0)
|
||||
if (graphics != 0 && graphics->vector_value("PORT", port) == 0)
|
||||
{
|
||||
cluster_id = vm->get_cid();
|
||||
|
||||
|
||||
Reference in new issue
Block a user