Skip to content

Commit

Permalink
Fix the wrong objectID in resolveVineyardObject.
Browse files Browse the repository at this point in the history
Signed-off-by: Ye Cao <[email protected]>
  • Loading branch information
dashanji committed Nov 14, 2024
1 parent 0f78867 commit 600dfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/graph/loader/arrow_fragment_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ boost::leaf::result<ObjectID> DataLoader::resolveVineyardObject(
// encoding: 'o' prefix for object id, and 's' prefix for object name.
CHECK_OR_RAISE(!source.empty() && (source[0] == 'o' || source[0] == 's'));
if (source[0] == 'o') {
sourceId = vineyard::ObjectIDFromString(source.substr(1));
sourceId = vineyard::ObjectIDFromString(source);
} else {
VY_OK_OR_RAISE(client_.GetName(source.substr(1), sourceId, true));
}
Expand Down

0 comments on commit 600dfaf

Please sign in to comment.