Skip to content

Commit

Permalink
[fix](build)Fix index_tool build error (apache#31834)
Browse files Browse the repository at this point in the history
Co-authored-by: Luennng <luennng@gmail.com>
  • Loading branch information
qidaye and luennng authored Mar 6, 2024
1 parent 5385027 commit 43d8126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/index-tools/index_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ int main(int argc, char** argv) {
bool exists = false;
std::filesystem::path root_dir(FLAGS_directory);
doris::Status status = fs->list(root_dir, true, &files, &exists);
if (!status.ok) {
if (!status.ok()) {
std::cerr << "can't search from directory's all files,err : " << status
<< std::endl;
return -1;
Expand Down

0 comments on commit 43d8126

Please sign in to comment.