summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge_agent/src/agent.rs
diff options
context:
space:
mode:
authorinitard <solo@softwareag.com>2022-04-26 19:12:31 +0100
committerinitard <solo@softwareag.com>2022-05-03 17:54:08 +0100
commite27c8e758610166d50c2e1c7ebd64e709c5bf571 (patch)
tree822a079a5006f5c5dfb3401ae593e9686bead0ef /crates/core/tedge_agent/src/agent.rs
parentda4f34614fd832c0e8699745325688ca825b1313 (diff)
operation logs improvement #1027
Signed-off-by: initard <solo@softwareag.com>
Diffstat (limited to 'crates/core/tedge_agent/src/agent.rs')
-rw-r--r--crates/core/tedge_agent/src/agent.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core/tedge_agent/src/agent.rs b/crates/core/tedge_agent/src/agent.rs
index 77bc6429..b7d946b0 100644
--- a/crates/core/tedge_agent/src/agent.rs
+++ b/crates/core/tedge_agent/src/agent.rs
@@ -413,7 +413,7 @@ impl SmAgent {
let response = match self
.operation_logs
- .new_log_file(LogKind::SoftwareList, None)
+ .new_log_file(LogKind::SoftwareList)
.await
{
Ok(log_file) => plugins.lock().await.list(&request, log_file).await,
@@ -476,7 +476,7 @@ impl SmAgent {
let response = match self
.operation_logs
- .new_log_file(LogKind::SoftwareUpdate, None)
+ .new_log_file(LogKind::SoftwareUpdate)
.await
{
Ok(log_file) => {