mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
formatting
This commit is contained in:
parent
4d969add80
commit
8ea019aa82
@ -116,10 +116,10 @@ public class RestGetMappingAction extends BaseRestHandler {
|
||||
builder.field(mappingMd.type());
|
||||
builder.map(mappingMd.sourceAsMap());
|
||||
}
|
||||
|
||||
|
||||
if (indexMetaData.mappings().values().isEmpty() && types.isEmpty()) {
|
||||
// if no types are specified and no mappings are set for the index, consider this an empty mapping
|
||||
foundAny = true;
|
||||
foundAny = true;
|
||||
}
|
||||
|
||||
builder.endObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user