This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, our validation logic cannot parse nested fields from the getFieldMapping response because nested fields don't have the full name in the response. For example, the field nested_host.host only has "host" in the type mapping instead of "nested_host.host". This PR fixes that by not depending on field name when parsing the name type mapping. Testing done: 1. manual testing passes.
- Loading branch information
Showing
1 changed file
with
20 additions
and
8 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