Skip to content

Commit

Permalink
fixed bug (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: jie.wang <38901892+jievince@users.noreply.github.com>
  • Loading branch information
caton-hpg and jievince authored Jun 28, 2022
1 parent 84e5df5 commit 3ddb706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sclient/StorageClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ScanEdgeIter StorageClient::scanEdgeWithPart(std::string spaceName,
}
int32_t spaceId = spaceIdResult.second;
auto edgeTypeResult = mClient_->getEdgeTypeByNameFromCache(spaceId, edgeName);
if (!edgeTypeResult.second) {
if (!edgeTypeResult.first) {
return {nullptr, nullptr, false};
}
int32_t edgeType = edgeTypeResult.second;
Expand Down

0 comments on commit 3ddb706

Please sign in to comment.