mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 08:50:18 +00:00
added missing search cleanup (#20328)
This commit is contained in:
parent
62c0ef09e9
commit
fc9afbe74a
@ -1310,6 +1310,7 @@ public abstract class EntityRepository<T extends EntityInterface> {
|
||||
if (entity != null) {
|
||||
DeleteResponse<T> response = deleteInternalByName(updatedBy, name, recursive, hardDelete);
|
||||
postDelete(response.entity());
|
||||
deleteFromSearch(response.entity(), hardDelete);
|
||||
return response;
|
||||
} else {
|
||||
return new DeleteResponse<>(null, ENTITY_DELETED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user