CA-245345: XenCenter doesn't mark a host as unapplicable when an update is installed via "Select update from disk" option

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2017-02-27 16:43:02 +00:00
parent 60ae28ccc6
commit f1470d1c53

View File

@ -233,7 +233,7 @@ namespace XenAdmin.Wizards.PatchingWizard
{
foreach (PatchGridViewRow row in dataGridViewPatches.Rows)
{
if (row.UpdateAlert.Name == Path.GetFileNameWithoutExtension(fileName))
if (string.Equals(row.UpdateAlert.Name, Path.GetFileNameWithoutExtension(fileName), StringComparison.OrdinalIgnoreCase))
{
return (XenServerPatchAlert)row.UpdateAlert;
}