-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix copyCurentStructure(MapXContentParser) (#76357) This stops `MapXContentParser` from throwing an `UnsupportedOperationException` when passed as an argument to `XContentBuilder#copyCurrentStructure`. This is mostly useful in tests where `Map` is a convenient way to talk about structured configuration but the production APIs need the map to be embedded into a larger blob of `XContent`. Co-authored-by: Elastic Machine <[email protected]> * Fixup Co-authored-by: Nik Everett <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
6a6212f
commit 4941d0e
Showing
2 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters