mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Fixed hang when submitting mappings and no changes are made
Added missing listener call before return Closes #3381
This commit is contained in:
parent
bd466fe39d
commit
1a352756e0
@ -452,6 +452,8 @@ public class MetaDataMappingService extends AbstractComponent {
|
||||
}
|
||||
|
||||
if (mappings.isEmpty()) {
|
||||
// no changes, return
|
||||
listener.onResponse(new Response(true));
|
||||
return currentState;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user