Updated ShieldVersion with version 1.0.1
Original commit: elastic/x-pack-elasticsearch@eea021633f
This commit is contained in:
parent
d29cbe4ef7
commit
a4a88c1a82
|
@ -26,6 +26,8 @@ public class ShieldVersion implements Serializable {
|
|||
|
||||
public static final int V_1_0_0_ID = /*00*/1000099;
|
||||
public static final ShieldVersion V_1_0_0 = new ShieldVersion(V_1_0_0_ID, false, Version.V_1_4_2, LicenseVersion.V_1_0_0);
|
||||
public static final int V_1_0_1_ID = /*00*/1000199;
|
||||
public static final ShieldVersion V_1_0_1 = new ShieldVersion(V_1_0_1_ID, false, Version.V_1_4_2, LicenseVersion.V_1_0_0);
|
||||
public static final int V_2_0_0_ID = /*00*/2000099;
|
||||
public static final ShieldVersion V_2_0_0 = new ShieldVersion(V_2_0_0_ID, true, Version.V_1_4_2, LicenseVersion.V_1_0_0);
|
||||
|
||||
|
@ -38,6 +40,7 @@ public class ShieldVersion implements Serializable {
|
|||
public static ShieldVersion fromId(int id) {
|
||||
switch (id) {
|
||||
case V_1_0_0_ID: return V_1_0_0;
|
||||
case V_1_0_1_ID: return V_1_0_1;
|
||||
case V_2_0_0_ID: return V_2_0_0;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue