Skip to content

Commit

Permalink
consistent_hash from XContent never parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
albertzaharovits committed Jul 16, 2024
1 parent ce30259 commit 286f650
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2745,8 +2745,6 @@ public static Metadata fromXContent(XContentParser parser) throws IOException {
while ((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
builder.put(IndexMetadata.Builder.fromXContent(parser), false);
}
} else if ("hashes_of_consistent_settings".equals(currentFieldName)) {
// discarded
} else if ("templates".equals(currentFieldName)) {
while ((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
builder.put(IndexTemplateMetadata.Builder.fromXContent(parser, parser.currentName()));
Expand Down

0 comments on commit 286f650

Please sign in to comment.