Skip to content

Commit 5a6ebf3

Browse files
author
frankee
committed
fix shuttle backends
1 parent 2171890 commit 5a6ebf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cetty-shuttle/src/cetty/shuttle/ShuttleBackend.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void ShuttleBackend::configure(const std::map<std::string, Backend*>& config) {
8686

8787
const ChannelPtr& ShuttleBackend::getChannel(const std::string& method) {
8888
if (backends_.size() == 1) {
89-
return backends_.begin()->channel(method);
89+
return backends_.begin()->second->channel(method);
9090
}
9191

9292
ThreadId id = CurrentThread::id();

0 commit comments

Comments
 (0)