Repository: atlas
Updated Branches:
  refs/heads/master 967bf67eb -> 015b8bf38


ATLAS-2643: Re-evaluate tag propagation when a relationship edge is deleted - 
fix UT


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/015b8bf3
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/015b8bf3
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/015b8bf3

Branch: refs/heads/master
Commit: 015b8bf38f04fdab91afcafb402a68a1a8ff1230
Parents: 967bf67
Author: Sarath Subramanian <ssubraman...@hortonworks.com>
Authored: Fri May 4 15:47:46 2018 -0700
Committer: Sarath Subramanian <ssubraman...@hortonworks.com>
Committed: Fri May 4 15:47:46 2018 -0700

----------------------------------------------------------------------
 .../apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/015b8bf3/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
----------------------------------------------------------------------
diff --git 
a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
 
b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
index 39469b9..d8eb07f 100644
--- 
a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
+++ 
b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
@@ -311,7 +311,7 @@ public abstract class DeleteHandlerV1 {
 
             // for relationship edges, inverse vertex's relationship attribute 
doesn't need to be updated.
             // only delete the reference relationship edge
-            if (isRelationshipEdge(edge)) {
+            if (GraphHelper.isRelationshipEdge(edge)) {
                 deleteEdge(edge, isInternalType);
 
                 AtlasVertex referencedVertex = 
entityRetriever.getReferencedEntityVertex(edge, relationshipDirection, 
entityVertex);

Reply via email to