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…
Reference in New Issue