update services/dtbschedmgr/src/mission/distributed_sched_mission_manager.cpp.

告警处理

Signed-off-by: 杜智海 <duzhihai@huawei.com>
This commit is contained in:
杜智海 2022-10-29 04:20:37 +00:00 committed by Gitee
parent 3d863ccd24
commit f84cf6dd8a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -889,9 +889,7 @@ std::shared_ptr<AppExecFwk::EventHandler> DistributedSchedMissionManager::FetchD
auto anonyUuid = DnetworkAdapter::AnonymizeDeviceId(uuid);
auto runner = AppExecFwk::EventRunner::Create(anonyUuid + "_MissionN");
auto handler = std::make_shared<AppExecFwk::EventHandler>(runner);
if (handler != nullptr) {
deviceHandle_.emplace(uuid, handler);
}
deviceHandle_.emplace(uuid, handler);
return handler;
}