Commit 3aa31a2c authored by zhujiashun's avatar zhujiashun

revived_from_all_failed: return false when met unknown lb params

parent d8fa3d51
......@@ -130,6 +130,7 @@ bool GetRecoverPolicyByParams(const butil::StringPiece& params,
continue;
}
LOG(ERROR) << "Failed to set this unknown parameters " << sp.key_and_value();
return false;
}
if (min_working_instances > 0 && hold_seconds > 0) {
ptr_out->reset(
......
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