Skip to content
Snippets Groups Projects
Commit 09b756a6 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon: Committed by Georgy Moshkin
Browse files

refactor: remove redundant allocation

parent cf43c72a
No related branches found
No related tags found
1 merge request!149Refactor/minor fixes
......@@ -547,7 +547,7 @@ fn postjoin(args: &args::Run) {
let node = node.expect("failed initializing raft node");
let cs = traft::Storage::conf_state().unwrap();
if cs.voters == vec![raft_cfg.id] {
if cs.voters == [raft_cfg.id] {
tlog!(
Info,
concat!(
......
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