Przeglądaj źródła

Use client in client name.

Jing Yang 5 lat temu
rodzic
commit
0be0f031b1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tests/config/mod.rs

+ 1 - 1
tests/config/mod.rs

@@ -24,7 +24,7 @@ impl Config {
     }
 
     fn client_name(client: usize, server: usize) -> String {
-        format!("ruaft-server-{}-to-{}", client, server)
+        format!("ruaft-client-{}-to-{}", client, server)
     }
 
     pub fn begin<S: std::fmt::Display>(&self, msg: S) {