CA-137047: StorageXenMotion not offering all hosts in drop down menu

+1 change after code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2014-07-14 18:02:48 +01:00
parent b78cb5d8fe
commit 72e88af867

View File

@ -172,10 +172,7 @@ namespace XenAdmin.Commands
VMOperationCommand cmdHome = new VMOperationHomeServerCommand(Command.MainWindowCommandInterface, selection, _operation, session);
Host affinityHost = connection.Resolve(((VM)Command.GetSelection()[0].XenObject).affinity);
VMOperationCommand cpmCmdHome = new CrossPoolMigrateToHomeCommand(Command.MainWindowCommandInterface, selection, affinityHost)
{
MenuText = Messages.HOME_SERVER_MENU_ITEM
};
VMOperationCommand cpmCmdHome = new CrossPoolMigrateToHomeCommand(Command.MainWindowCommandInterface, selection, affinityHost);
Program.Invoke(Program.MainWindow, delegate
{