validator: remove `--no-duplicate-instance-check` (#29785)
This commit is contained in:
parent
0a0c532c86
commit
9a5aca36e6
|
@ -1282,13 +1282,6 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
|
||||||
it becomes a candidate for shrinking. The value must between 0. and 1.0 \
|
it becomes a candidate for shrinking. The value must between 0. and 1.0 \
|
||||||
inclusive."),
|
inclusive."),
|
||||||
)
|
)
|
||||||
.arg(
|
|
||||||
Arg::with_name("no_duplicate_instance_check")
|
|
||||||
.long("no-duplicate-instance-check")
|
|
||||||
.takes_value(false)
|
|
||||||
.help("Disables duplicate instance check")
|
|
||||||
.hidden(true),
|
|
||||||
)
|
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("allow_private_addr")
|
Arg::with_name("allow_private_addr")
|
||||||
.long("allow-private-addr")
|
.long("allow-private-addr")
|
||||||
|
|
|
@ -1594,7 +1594,7 @@ pub fn main() {
|
||||||
|
|
||||||
let identity_keypair = Arc::new(identity_keypair);
|
let identity_keypair = Arc::new(identity_keypair);
|
||||||
|
|
||||||
let should_check_duplicate_instance = !matches.is_present("no_duplicate_instance_check");
|
let should_check_duplicate_instance = true;
|
||||||
if !cluster_entrypoints.is_empty() {
|
if !cluster_entrypoints.is_empty() {
|
||||||
bootstrap::rpc_bootstrap(
|
bootstrap::rpc_bootstrap(
|
||||||
&node,
|
&node,
|
||||||
|
|
Loading…
Reference in New Issue