summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2020-03-13 02:31:30 +0300
committerJames Feist <james.feist@linux.intel.com>2020-03-13 02:31:30 +0300
commit831d6b093dfba0dc39257a1741ff5f4788a3ee0e (patch)
tree6aa8c726b641226e695cce46029ba6145c924299
parent32898cea816973f50f1db1f415c73bb4791d1ef0 (diff)
downloadbmcweb-831d6b093dfba0dc39257a1741ff5f4788a3ee0e.tar.xz
log: Fix Validator
Should be updating state when finished, not status. Tested: Validator passed again Change-Id: Ida75eb480d7873c56e37f99b4a093be20362c9d6 Signed-off-by: James Feist <james.feist@linux.intel.com>
-rw-r--r--redfish-core/lib/log_services.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index ca9604b63d..fd414aa331 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -1878,7 +1878,7 @@ class OnDemandCrashdump : public Node
if (!err)
{
taskData->messages.emplace_back(messages::success());
- taskData->status = "Completed";
+ taskData->state = "Completed";
}
return task::completed;
},