Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
stateIs0 committed Apr 19, 2022
1 parent b6da0d3 commit 6514e17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
public class RaftNodeBootStrap {

public static void main(String[] args) throws Throwable {
main0();
boot();
}

public static void main0() throws Throwable {
public static void boot() throws Throwable {
String[] peerAddr = {"localhost:8775", "localhost:8776", "localhost:8777", "localhost:8778", "localhost:8779"};

NodeConfig config = new NodeConfig();
Expand Down

0 comments on commit 6514e17

Please sign in to comment.