refactor: use a more straightforward return value

Signed-off-by: fuyangpengqi <995764973@qq.com>
This commit is contained in:
fuyangpengqi committed 2025-02-28 17:09:56 +08:00
1 parent 8532955b35
commit 150f72414a
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ func (s *Server) SendToRoute(ctx context.Context,
Failure: resp.Failure,
}
return legacyResp, err
return legacyResp, nil
}
// QueryProbability returns the current success probability estimate for a