File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/flattened Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class FlattenedFeatureSetUsage extends XPackFeatureSet.Usage {
2121
2222 public FlattenedFeatureSetUsage (StreamInput input ) throws IOException {
2323 super (input );
24- this .fieldCount = input .getVersion ().onOrAfter (Version .V_8_0_0 ) ? input .readInt () : 0 ;
24+ this .fieldCount = input .getVersion ().onOrAfter (Version .V_7_6_0 ) ? input .readInt () : 0 ;
2525 }
2626
2727 public FlattenedFeatureSetUsage (boolean available , boolean enabled , int fieldCount ) {
@@ -36,7 +36,7 @@ int fieldCount() {
3636 @ Override
3737 public void writeTo (StreamOutput out ) throws IOException {
3838 super .writeTo (out );
39- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
39+ if (out .getVersion ().onOrAfter (Version .V_7_6_0 )) {
4040 out .writeInt (fieldCount );
4141 }
4242 }
You can’t perform that action at this time.
0 commit comments