summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge_agent/src/agent.rs
diff options
context:
space:
mode:
authorinitard <solo@softwareag.com>2022-04-20 12:13:20 +0100
committerinitard <solo@softwareag.com>2022-05-03 10:05:55 +0100
commit8d6afaa83ffced9f33771a4317a0b62a15686e40 (patch)
tree393bbb74a448c468c00834ef374f7d95fdeac9f8 /crates/core/tedge_agent/src/agent.rs
parentcd635c18bfc709106c559372b0f3b74dfac74562 (diff)
operation logs type #1027
- changed operation logs to allow other log types not just software list and software update 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 b7c7ba27..938b7916 100644
--- a/crates/core/tedge_agent/src/agent.rs
+++ b/crates/core/tedge_agent/src/agent.rs
@@ -411,7 +411,7 @@ impl SmAgent {
let response = match self
.operation_logs
- .new_log_file(LogKind::SoftwareList)
+ .new_log_file(LogKind::SoftwareList, None)
.await
{
Ok(log_file) => plugins.lock().await.list(&request, log_file).await,
@@ -474,7 +474,7 @@ impl SmAgent {
let response = match self
.operation_logs
- .new_log_file(LogKind::SoftwareUpdate)
+ .new_log_file(LogKind::SoftwareUpdate, None)
.await
{
Ok(log_file) => {