From d79a6014651008f32b2439cd13596f533564970d Mon Sep 17 00:00:00 2001 From: David Kyle Date: Mon, 28 Jan 2019 14:32:53 +0000 Subject: [PATCH] Fix xcontent representation --- .../xpack/core/deprecation/DeprecationInfoAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java index c4f89bafbf8ba..d32ed514a47a6 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java @@ -131,7 +131,7 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws .array("node_settings", nodeSettingsIssues.toArray()) .field("index_settings") .map(indexSettingsIssues) - .array("ml_settings", mlSettingsIssues) + .array("ml_settings", mlSettingsIssues.toArray()) .endObject(); }