Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
Signed-off-by: Calvin Neo <calvinneo1995@gmail.com>
  • Loading branch information
CalvinNeo committed Sep 20, 2024
1 parent 8d4e895 commit f81813d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ impl<T: Transport + 'static, ER: RaftEngine> ProxyForwarder<T, ER> {
msg: &RaftMessage,
apply_state: RaftApplyState,
new_region: kvproto::metapb::Region,
serverless_extra: ServerlessExtra,
_serverless_extra: ServerlessExtra,
) -> RaftStoreResult<FastAddPeerStatus> {
let cached_manager = self.get_cached_manager();
let inner_msg = msg.get_message();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct ServerlessExtra {
}

impl ServerlessExtra {
pub fn new(res: &FastAddPeerRes) -> Self {
pub fn new(_res: &FastAddPeerRes) -> Self {
Default::default()
}
}

0 comments on commit f81813d

Please sign in to comment.