mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
HLRC: Drop extra level from user parser (#34932)
It had support for an object between `created` and the root that we don't return in 7.0+.
This commit is contained in:
parent
544c220942
commit
277f49b9ca
@ -62,7 +62,6 @@ public final class PutUserResponse {
|
||||
|
||||
static {
|
||||
PARSER.declareBoolean(constructorArg(), new ParseField("created"));
|
||||
PARSER.declareObject((a,b) -> {}, (parser, context) -> null, new ParseField("user")); // ignore the user field!
|
||||
}
|
||||
|
||||
public static PutUserResponse fromXContent(XContentParser parser) throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user