Skip to content

Commit 11d18e2

Browse files
committed
fix: only get directly attached edges
1 parent 3987248 commit 11d18e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ public List<String> getImpactedVerticesIds(AtlasVertex entityVertex, String rela
619619
public List<String> getImpactedVerticesIdsClassificationAttached(AtlasVertex entityVertex, String classificationId, List<String> edgeLabelsToExclude, List<String> verticesWithoutClassification) {
620620
List<String> ret = new ArrayList<>();
621621

622-
GraphHelper.getAllClassificationEdges(entityVertex).forEach(classificationEdge -> {
622+
GraphHelper.getClassificationEdges(entityVertex).forEach(classificationEdge -> {
623623
AtlasVertex classificationVertex = classificationEdge.getInVertex();
624624
if (classificationVertex != null && classificationId.equals(classificationVertex.getIdForDisplay())) {
625625
traverseImpactedVerticesByLevel(entityVertex, null, classificationId, ret, edgeLabelsToExclude, verticesWithoutClassification);

0 commit comments

Comments
 (0)