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>
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index ca9604b..fd414aa 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -1878,7 +1878,7 @@
if (!err)
{
taskData->messages.emplace_back(messages::success());
- taskData->status = "Completed";
+ taskData->state = "Completed";
}
return task::completed;
},