Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
Update src/common/replication_common.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Yingchun Lai <[email protected]>
  • Loading branch information
hycdong and acelyc111 authored May 28, 2021
1 parent fe94dcc commit 44c69d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/replication_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ replication_options::get_data_dir_and_tag(const std::string &config_dirs_str,
replication_options::get_data_dirs_in_black_list(const std::string &fname,
/*out*/ std::vector<std::string> &dirs)
{
if (fname.empty() || (!fname.empty() && !utils::filesystem::file_exists(fname))) {
if (fname.empty() || !utils::filesystem::file_exists(fname)) {
ddebug_f("data_dirs_black_list_file[{}] not found, ignore it", fname);
return;
}
Expand Down

0 comments on commit 44c69d4

Please sign in to comment.