Commit aca3a0e6 authored by cdjgit's avatar cdjgit

fix bugs

parent 49d59893
...@@ -388,6 +388,7 @@ bool ConsistentHashingLoadBalancer::SetParameters(const butil::StringPiece& para ...@@ -388,6 +388,7 @@ bool ConsistentHashingLoadBalancer::SetParameters(const butil::StringPiece& para
if (!butil::StringToSizeT(key_value.substr(p + 1), &_num_replicas)) { if (!butil::StringToSizeT(key_value.substr(p + 1), &_num_replicas)) {
return false; return false;
} }
continue;
} }
LOG(ERROR) << "Failed to set this unknown parameters " << key_value; LOG(ERROR) << "Failed to set this unknown parameters " << key_value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment