File tree 2 files changed +4
-4
lines changed
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public AnomalyCause(StreamInput in) throws IOException {
121
121
if (in .readBoolean ()) {
122
122
influencers = in .readList (Influence ::new );
123
123
}
124
- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
124
+ if (in .getVersion ().onOrAfter (Version .V_7_6_0 )) {
125
125
geoResults = in .readOptionalWriteable (GeoResults ::new );
126
126
}
127
127
}
@@ -154,7 +154,7 @@ public void writeTo(StreamOutput out) throws IOException {
154
154
if (hasInfluencers ) {
155
155
out .writeList (influencers );
156
156
}
157
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
157
+ if (out .getVersion ().onOrAfter (Version .V_7_6_0 )) {
158
158
out .writeOptionalWriteable (geoResults );
159
159
}
160
160
}
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ public AnomalyRecord(StreamInput in) throws IOException {
193
193
if (in .readBoolean ()) {
194
194
influences = in .readList (Influence ::new );
195
195
}
196
- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
196
+ if (in .getVersion ().onOrAfter (Version .V_7_6_0 )) {
197
197
geoResults = in .readOptionalWriteable (GeoResults ::new );
198
198
}
199
199
}
@@ -239,7 +239,7 @@ public void writeTo(StreamOutput out) throws IOException {
239
239
if (hasInfluencers ) {
240
240
out .writeList (influences );
241
241
}
242
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
242
+ if (out .getVersion ().onOrAfter (Version .V_7_6_0 )) {
243
243
out .writeOptionalWriteable (geoResults );
244
244
}
245
245
}
You can’t perform that action at this time.
0 commit comments