Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
droberts195 committed Sep 27, 2023
1 parent 6ba0818 commit 521fd3d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,7 @@ private Map<String, Object> getIndexMappingProperties(String index) {
Map<String, Object> meta = (Map<String, Object>) mappings.get("_meta");
assertThat(meta.keySet(), hasItem("version"));
assertThat(meta.get("version"), equalTo(Build.current().unqualifiedVersion()));
assertThat(
meta.get("managed_index_mappings_version"),
equalTo(AnomalyDetectorsIndex.RESULTS_INDEX_MAPPINGS_VERSION)
);
assertThat(meta.get("managed_index_mappings_version"), equalTo(AnomalyDetectorsIndex.RESULTS_INDEX_MAPPINGS_VERSION));

@SuppressWarnings("unchecked")
Map<String, Object> properties = (Map<String, Object>) mappings.get("properties");
Expand Down

0 comments on commit 521fd3d

Please sign in to comment.