diff --git a/src/cli/ta_client.rs b/src/cli/ta_client.rs index 780fb3b82..7c3576543 100644 --- a/src/cli/ta_client.rs +++ b/src/cli/ta_client.rs @@ -1073,7 +1073,7 @@ impl TrustAnchorSignerManager { tal_rsync: info.tal_rsync, private_key_pem: info.private_key_pem, ta_mft_nr_override: info.ta_mft_nr_override, - timing: self.config.timing_config, + timing: self.config.ta_timing, signer: self.signer.clone(), }, &self.actor, @@ -1099,7 +1099,7 @@ impl TrustAnchorSignerManager { let cmd = TrustAnchorSignerCommand::make_process_request_command( &self.ta_handle, signed_request, - self.config.timing_config, + self.config.ta_timing, ta_mft_number_override, self.signer.clone(), &self.actor, diff --git a/src/daemon/config.rs b/src/daemon/config.rs index 5049f07ae..b835fc0ea 100644 --- a/src/daemon/config.rs +++ b/src/daemon/config.rs @@ -579,7 +579,10 @@ pub struct Config { pub benchmark: Option, - #[serde(default)] + #[serde( + default, + alias="timing_config" + )] pub ta_timing: TaTimingConfig, } diff --git a/src/ta/config.rs b/src/ta/config.rs index 9fa50b4ca..db0343ce9 100644 --- a/src/ta/config.rs +++ b/src/ta/config.rs @@ -112,8 +112,11 @@ pub struct Config { #[serde(default = "crate::daemon::config::ConfigDefaults::signers")] pub signers: Vec, - #[serde(default)] - pub timing_config: TaTimingConfig, + #[serde( + default, + alias="timing_config" + )] + pub ta_timing: TaTimingConfig, } impl Config {