summaryrefslogtreecommitdiff
path: root/redfish-core/lib/task.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/task.hpp')
-rw-r--r--redfish-core/lib/task.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/redfish-core/lib/task.hpp b/redfish-core/lib/task.hpp
index 136412c369..a2959b8455 100644
--- a/redfish-core/lib/task.hpp
+++ b/redfish-core/lib/task.hpp
@@ -14,12 +14,10 @@
// limitations under the License.
*/
#pragma once
-#include "bmcweb_config.h"
#include "app.hpp"
#include "dbus_utility.hpp"
#include "event_service_manager.hpp"
-#include "health.hpp"
#include "http/parsing.hpp"
#include "query.hpp"
#include "registries/privilege_registry.hpp"
@@ -492,11 +490,6 @@ inline void requestRoutesTaskService(App& app)
asyncResp->res.jsonValue["LifeCycleEventOnTaskStateChange"] = true;
- if constexpr (bmcwebEnableHealthPopulate)
- {
- auto health = std::make_shared<HealthPopulate>(asyncResp);
- health->populate();
- }
asyncResp->res.jsonValue["Status"]["State"] = "Enabled";
asyncResp->res.jsonValue["ServiceEnabled"] = true;
asyncResp->res.jsonValue["Tasks"]["@odata.id"] =