chenBright commented on code in PR #3189:
URL: https://github.com/apache/brpc/pull/3189#discussion_r2668541637
##########
src/brpc/selective_channel.cpp:
##########
@@ -534,16 +533,22 @@ bool SelectiveChannel::initialized() const {
int SelectiveChannel::AddChannel(ChannelBase* sub_channel,
ChannelHandle* handle) {
+ return AddChannel(sub_channel, "", handle);
+}
+
+int SelectiveChannel::AddChannel(ChannelBase* sub_channel,
+ const std::string& tag,
+ ChannelHandle* handle) {
schan::ChannelBalancer* lb =
- static_cast<schan::ChannelBalancer*>(_chan._lb.get());
+ static_cast<schan::ChannelBalancer*>(_chan._lb.get());
Review Comment:
No need to modify this line.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]