Skip to content

Commit fa77605

Browse files
committed
Updates after rebase
1 parent fe80ec9 commit fa77605

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ fn main() {
161161
let runtime = BackgroundRuntime::new();
162162
let driver_options = DriverOptions::new()
163163
.use_replication(!args.replication_disabled)
164-
.tls_enabled(!args.tls_disabled)
164+
.is_tls_enabled(!args.tls_disabled)
165165
.tls_root_ca(tls_root_ca_path)
166166
.unwrap();
167167
let driver = match runtime.run(TypeDBDriver::new(
@@ -342,15 +342,15 @@ fn entry_repl(driver: Arc<TypeDBDriver>, runtime: BackgroundRuntime) -> Repl<Con
342342
"register",
343343
"Register new replica. Requires a clustering address, not a connection address.",
344344
vec![
345-
CommandInput::new("replica id", get_word, None, None),
346-
CommandInput::new("clustering address", get_word, None, None),
345+
CommandInput::new_required("replica id", get_word, None),
346+
CommandInput::new_required("clustering address", get_word, None),
347347
],
348348
replica_register,
349349
))
350350
.add(CommandLeaf::new_with_input(
351351
"deregister",
352352
"Deregister existing replica.",
353-
CommandInput::new("replica id", get_word, None, None),
353+
CommandInput::new_required("replica id", get_word, None),
354354
replica_deregister,
355355
));
356356

0 commit comments

Comments
 (0)