summaryrefslogtreecommitdiff
path: root/redfish-core/lib/log_services.hpp
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2020-03-11 02:16:52 +0300
committerJames Feist <james.feist@linux.intel.com>2020-03-12 19:03:48 +0300
commit32898cea816973f50f1db1f415c73bb4791d1ef0 (patch)
treee14b573d93c4be50d68a3f3102d3edabd8584b55 /redfish-core/lib/log_services.hpp
parent8f52ee52148edea2fbd8d538e6fc93985fb04d36 (diff)
downloadbmcweb-32898cea816973f50f1db1f415c73bb4791d1ef0.tar.xz
task: add fwupdate support
This adds firmware update task service support. It adds a match and updates the task value when the interface changes. Tested: On successful fwupdate task was created and updated correctly. On failed fwupdate the status went to failed. Change-Id: Id12cc5d5270e8e45498b665e78601c5c30775323 Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'redfish-core/lib/log_services.hpp')
-rw-r--r--redfish-core/lib/log_services.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 09602fb963..ca9604b63d 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -1878,8 +1878,9 @@ class OnDemandCrashdump : public Node
if (!err)
{
taskData->messages.emplace_back(messages::success());
+ taskData->status = "Completed";
}
- return true;
+ return task::completed;
},
"type='signal',interface='org.freedesktop.DBus.Properties',"
"member='PropertiesChanged',arg0namespace='com.intel."