refactor: use a more straightforward return value

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

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