mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-227277: XenCenter does not recognise the xscontainer supplemental pack in the new format
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
1e31543bbf
commit
757bca9676
@ -2073,7 +2073,11 @@ namespace XenAdmin.Core
|
||||
public static bool ContainerCapability(IXenConnection connection)
|
||||
{
|
||||
var master = GetMaster(connection);
|
||||
return CreamOrGreater(connection) && master != null && master.SuppPacks.Any(suppPack => suppPack.Name.ToLower().StartsWith("xscontainer"));
|
||||
if (master == null)
|
||||
return false;
|
||||
if (ElyOrGreater(connection))
|
||||
return master.AppliedUpdates().Any(update => update.Name.ToLower().StartsWith("xscontainer"));
|
||||
return CreamOrGreater(connection) && master.SuppPacks.Any(suppPack => suppPack.Name.ToLower().StartsWith("xscontainer"));
|
||||
}
|
||||
|
||||
public static bool PvsCacheCapability(IXenConnection connection)
|
||||
|
Loading…
Reference in New Issue
Block a user