summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge_agent/src/agent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/core/tedge_agent/src/agent.rs')
-rw-r--r--crates/core/tedge_agent/src/agent.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/tedge_agent/src/agent.rs b/crates/core/tedge_agent/src/agent.rs
index 8fe3e18a..243463f1 100644
--- a/crates/core/tedge_agent/src/agent.rs
+++ b/crates/core/tedge_agent/src/agent.rs
@@ -144,7 +144,7 @@ impl SmAgentConfig {
let tedge_download_dir = tedge_config.query_string(TmpPathSetting)?.into();
- let tedge_log_dir: String = tedge_config.query_string(LogPathSetting)?.into();
+ let tedge_log_dir: String = tedge_config.query_string(LogPathSetting)?;
let tedge_log_dir = PathBuf::from(&format!("{tedge_log_dir}/{AGENT_LOG_PATH}"));
let tedge_run_dir = tedge_config.query_string(RunPathSetting)?.into();