CA-227166: PVS tab not visible in XenCenter with PVS proxy supp-pack installed

- use the applied updates when checking if the PVS supplemental pack is installed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2016-10-28 12:04:43 +01:00
parent 673e280c85
commit 1e31543bbf

View File

@ -2079,7 +2079,7 @@ namespace XenAdmin.Core
public static bool PvsCacheCapability(IXenConnection connection) public static bool PvsCacheCapability(IXenConnection connection)
{ {
var master = GetMaster(connection); var master = GetMaster(connection);
return master != null && master.SuppPacks.Any(suppPack => suppPack.Name.ToLower().StartsWith("xspvscache")); return master != null && master.AppliedUpdates().Any(update => update.Name.ToLower().StartsWith("xspvscache"));
} }
/// <summary> /// <summary>