This is an automated email from the ASF dual-hosted git repository.
jianliangqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 43d81263457 [fix](build)Fix index_tool build error (#31834)
43d81263457 is described below
commit 43d8126345786d2d69a595efb1f3a0ecdcb115d1
Author: qiye <[email protected]>
AuthorDate: Wed Mar 6 13:26:46 2024 +0800
[fix](build)Fix index_tool build error (#31834)
Co-authored-by: Luennng <[email protected]>
---
be/src/index-tools/index_tool.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/index-tools/index_tool.cpp
b/be/src/index-tools/index_tool.cpp
index 91beb905ae2..f18ecdc3621 100644
--- a/be/src/index-tools/index_tool.cpp
+++ b/be/src/index-tools/index_tool.cpp
@@ -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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]