Rename --network argument to --entrypoint (#4149)

This commit is contained in:
Michael Vines
2019-05-03 15:00:19 -07:00
committed by GitHub
parent 31b74bdf0b
commit f3f416b7ba
13 changed files with 59 additions and 59 deletions

View File

@@ -15,7 +15,7 @@ fn main() {
let cli_config = cli::extract_args(&matches);
let cli::Config {
network_addr,
entrypoint_addr,
drone_addr,
identity,
threads,
@@ -30,7 +30,7 @@ fn main() {
} = cli_config;
info!("Connecting to the cluster");
let nodes = discover_nodes(&network_addr, num_nodes).unwrap_or_else(|_| {
let nodes = discover_nodes(&entrypoint_addr, num_nodes).unwrap_or_else(|_| {
panic!("Failed to discover nodes");
});