diff --git a/services/dtbschedmgr/src/mission/mission_info_converter.cpp b/services/dtbschedmgr/src/mission/mission_info_converter.cpp index d82b0735..3e2e67a3 100644 --- a/services/dtbschedmgr/src/mission/mission_info_converter.cpp +++ b/services/dtbschedmgr/src/mission/mission_info_converter.cpp @@ -30,7 +30,7 @@ int32_t MissionInfoConverter::ConvertToDstbMissionInfos(std::vector& dstbMissionInfos) { if (missionInfos.empty()) { - return INVALID_PARAMETERS_ERR; + return ERR_OK; } for (auto iter = missionInfos.begin(); iter != missionInfos.end(); iter++) { DstbMissionInfo dstbMissionInfo; @@ -50,7 +50,7 @@ int32_t MissionInfoConverter::ConvertToMissionInfos(std::vector std::vector& missionInfos) { if (dstbMissionInfos.empty()) { - return INVALID_PARAMETERS_ERR; + return ERR_OK; } for (auto iter = dstbMissionInfos.begin(); iter != dstbMissionInfos.end(); iter++) { AAFwk::MissionInfo missionInfo;