Skip to content

Commit

Permalink
fix(entity-service) exist check correctly extracts status
Browse files Browse the repository at this point in the history
  • Loading branch information
jayacryl authored Jul 23, 2024
1 parent 123e84c commit 2b6939e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,7 @@ public Set<Urn> exists(
urn ->
// key aspect is always returned, make sure to only consider the status aspect
statusResult.getOrDefault(urn, List.of()).stream()
.filter(aspect -> STATUS_ASPECT_NAME.equals(aspect.schema().getName()))
.filter(aspect -> STATUS_ASPECT_NAME.equalsIgnoreCase(aspect.schema().getName()))
.noneMatch(aspect -> ((Status) aspect).isRemoved()))
.collect(Collectors.toSet());
}
Expand Down

0 comments on commit 2b6939e

Please sign in to comment.