mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-19 17:46:17 +00:00
Trying to do TLS
This commit is contained in:
+2
-1
@@ -16,6 +16,7 @@ mod http_util;
|
||||
mod rpc_client;
|
||||
mod rpc_server;
|
||||
mod server;
|
||||
mod tls_util;
|
||||
|
||||
use std::collections::HashSet;
|
||||
use std::net::SocketAddr;
|
||||
@@ -76,7 +77,7 @@ pub struct ConfigureOpt {
|
||||
async fn main() {
|
||||
let opt = Opt::from_args();
|
||||
|
||||
let rpc_cli = RpcClient::new();
|
||||
let rpc_cli = RpcClient::new(&None).expect("Could not create RPC client");
|
||||
|
||||
let resp = match opt.cmd {
|
||||
Command::Server(server_opt) => server::run_server(server_opt.config_file).await,
|
||||
|
||||
Reference in New Issue
Block a user