bin/tau: little fix in tau-cli

This commit is contained in:
ghassmo
2022-04-24 21:13:10 +03:00
parent 0b80d0d8d6
commit 51152f934b
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ use crate::{
};
async fn start(options: CliTau, config: TauConfig) -> Result<()> {
let rpc_addr = &format!("tcp://{}", &config.rpc_listener_url.url.clone());
let rpc_addr = &format!("tcp://{}", &config.rpc_listen.url.clone());
match options.command {
Some(CliTauSubCommands::Add { title, desc, assign, project, due, rank }) => {

View File

@@ -19,7 +19,7 @@ pub const CONFIG_FILE_CONTENTS: &[u8] = include_bytes!("../../taud_config.toml")
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct TauConfig {
/// The address where taud should bind its RPC socket
pub rpc_listener_url: UrlConfig,
pub rpc_listen: UrlConfig,
}
#[derive(Subcommand)]