Skip to content

Commit

Permalink
Merge pull request #2687 from atlanhq/revoke/cache/performance
Browse files Browse the repository at this point in the history
revoke changes
  • Loading branch information
aarshi0301 authored Dec 20, 2023
2 parents b47cfad + 5ae1e10 commit 5116e32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public void onTermAdded(AtlasGlossaryTerm term, List<AtlasRelatedObjectId> entit
FixedBufferList<EntityAuditEventV2> events = getAuditEventsList();

for (AtlasRelatedObjectId relatedObjectId : entities) {
AtlasEntity entity = instanceConverter.getAndCacheEntity(relatedObjectId.getGuid(), true);
AtlasEntity entity = instanceConverter.getAndCacheEntity(relatedObjectId.getGuid());

if (entity != null) {
createEvent(events.next(), entity, TERM_ADD, "Added term: " + term.toAuditString());
Expand Down

0 comments on commit 5116e32

Please sign in to comment.