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/ml Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public MachineLearningFeatureSetUsage(StreamInput in) throws IOException {
5252 super (in );
5353 this .jobsUsage = in .readMap ();
5454 this .datafeedsUsage = in .readMap ();
55- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
55+ if (in .getVersion ().onOrAfter (Version .V_7_4_0 )) {
5656 this .analyticsUsage = in .readMap ();
5757 } else {
5858 this .analyticsUsage = Collections .emptyMap ();
@@ -65,7 +65,7 @@ public void writeTo(StreamOutput out) throws IOException {
6565 super .writeTo (out );
6666 out .writeMap (jobsUsage );
6767 out .writeMap (datafeedsUsage );
68- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
68+ if (out .getVersion ().onOrAfter (Version .V_7_4_0 )) {
6969 out .writeMap (analyticsUsage );
7070 }
7171 out .writeInt (nodeCount );
You can’t perform that action at this time.
0 commit comments