distributed connect test modify

Signed-off-by: du-zhihai <duzhihai@huawei.com>
Change-Id: Ib1024e6f7e93a61018d082af6a83de6724638cc8
This commit is contained in:
du-zhihai 2022-08-19 16:23:27 +08:00
parent 473a6cd02a
commit f49c6bfc48

View File

@ -1165,7 +1165,7 @@ bool DistributedSchedService::HandleDistributedComponentChange(const std::string
{
HILOGI("DistributedSchedService::HandleDistributedComponentChange begin");
auto func = [this, componentInfo]() {
BackgroundTaskMgr::BackgroundTaskMgrHelper::ReportStateChangeEvent (
BackgroundTaskMgr::BackgroundTaskMgrHelper::ReportStateChangeEvent(
BackgroundTaskMgr::EventType::DIS_COMP_CHANGE, componentInfo);
};
if (componentChangeHandler_ == nullptr || !componentChangeHandler_->PostTask(func)) {