mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CP-14533: Fix the WLB version check issue.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
This commit is contained in:
parent
6d5ba51788
commit
1723dcf910
@ -85,6 +85,8 @@ namespace XenAdmin.Wlb
|
||||
private const int WlbVersion_Minor_Tampa = 1;
|
||||
private const int WlbVersion_Major_Creedence = 6;
|
||||
private const int WlbVersion_Minor_Creedence = 5;
|
||||
private const int WlbVersion_Major_Dundee = 7;
|
||||
private const int WlbVersion_Minor_Dundee = 0;
|
||||
|
||||
#endregion
|
||||
|
||||
@ -446,7 +448,8 @@ namespace XenAdmin.Wlb
|
||||
|
||||
public bool IsCreedenceOrLater
|
||||
{
|
||||
get { return ((this.WlbMajorVersion >= WlbVersion_Major_Creedence) && (this.WlbMinorVersion >= WlbVersion_Minor_Creedence)); }
|
||||
get { return ((this.WlbMajorVersion > WlbVersion_Major_Creedence)
|
||||
|| ((this.WlbMajorVersion == WlbVersion_Major_Creedence) && (this.WlbMinorVersion >= WlbVersion_Minor_Creedence))); }
|
||||
}
|
||||
|
||||
public bool IsTampaOrLater
|
||||
|
Loading…
Reference in New Issue
Block a user