mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
B #5465: Fix history record check while getting VNC port
(cherry picked from commit 04b557188f)
This commit is contained in:
1 parent
56339a50f3
commit
01d062e76f
1 file changed
+1
-2
@@ -682,8 +682,7 @@ int set_vnc_port(VirtualMachine *vm, int cluster_id, RequestAttributes& att)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else if (vm->hasPreviousHistory() &&
|
||||
vm->get_previous_action() == History::STOP_ACTION)
|
||||
else if (vm->hasHistory() && vm->get_action()==History::STOP_ACTION)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user