Skip to content

Commit

Permalink
fix edge batch update error
Browse files Browse the repository at this point in the history
Change-Id: I8742ca0e128e3c9bc3eb2ef99a52276045e17b79
  • Loading branch information
zhoney committed Mar 9, 2022
1 parent 730f332 commit 2d374e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ private Id getEdgeId(HugeGraph g, JsonEdge newEdge) {
Directions.OUT, labelId, sortKeys,
HugeVertex.getIdValue(newEdge.target));
if (newEdge.id != null) {
E.checkArgument(edgeId.equals(newEdge.id),
E.checkArgument(edgeId.asString().equals(newEdge.id),
"The ids are different between server and " +
"request body ('%s' != '%s'). And note the sort " +
"key values should either be null or equal to " +
Expand Down

0 comments on commit 2d374e7

Please sign in to comment.