pinal-shah commented on code in PR #512:
URL: https://github.com/apache/atlas/pull/512#discussion_r2762674539


##########
intg/src/main/java/org/apache/atlas/AtlasErrorCode.java:
##########
@@ -82,7 +82,7 @@ public enum AtlasErrorCode {
     RELATIONSHIPDEF_COMPOSITION_MULTIPLE_PARENTS(400, "ATLAS-400-00-033", 
"COMPOSITION relationshipDef {0} can only have one parent; so cannot have SET 
cardinality on children"),
     RELATIONSHIPDEF_LIST_ON_END(400, "ATLAS-400-00-034", "relationshipDef {0} 
cannot have a LIST cardinality on an end"),
     RELATIONSHIPDEF_INVALID_END_TYPE(400, "ATLAS-400-00-035", "relationshipDef 
{0} has invalid end type {1}"),
-    INVALID_RELATIONSHIP_END_TYPE(400, "ATLAS-400-00-036", "invalid 
relationshipDef: {0}: end type 1: {1}, end type 2: {2}"),
+    INVALID_RELATIONSHIP_END_TYPE(400, "ATLAS-400-00-036", "invalid 
relationshipDef: {0}: actual end types: [{1}, {2}], expected end types: [{3}, 
{4}]"),

Review Comment:
   Please add end type 1: , end type 2: info 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to