CA-110610: It should be possible to apply a free license to a 6.1 or earlier pool if the pool has two or more servers in it.

- Changed the condition under which we show pool members as individual hosts in the License Manager dialog, from ALL to ANY,
meaning that if any of the pool members can be activated, then we split the pool.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2013-07-22 14:07:47 +01:00
parent 6399087bd5
commit bec2117a2a

View File

@ -71,7 +71,7 @@ namespace XenAdmin.Dialogs
public static bool CanActivate(Pool pool)
{
return pool.Connection.Cache.Hosts.All(CanActivate);
return pool.Connection.Cache.Hosts.Any(CanActivate);
}
public ReadOnlyCollection<Host> HostsThatCanBeActivated