Skip to content
Snippets Groups Projects
Verified Commit 8edd964b authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov
Browse files

Fix clippy warnings

parent 57288284
No related branches found
No related tags found
1 merge request!71Fair raft join
Pipeline #3887 passed
......@@ -323,7 +323,7 @@ fn start_discover(supervisor: ipc::Sender<IpcMessage>, args: &args::Run) {
match role {
discovery::Role::Leader { .. } => {
return start_boot(supervisor, args);
start_boot(supervisor, args);
}
discovery::Role::NonLeader { leader } => {
let next_entrypoint = Entrypoint::StartJoin {
......
......@@ -360,7 +360,7 @@ fn raft_main_loop(
None => (),
Some(Nop) => (),
Some(Info { msg }) => tlog!(Info, "{msg}"),
Some(EvalLua { code }) => crate::tarantool::eval(&code),
Some(EvalLua { code }) => crate::tarantool::eval(code),
}
if let Some(lc) = entry.lc() {
if let Some(notify) = notifications.remove(lc) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment