diff --git a/services/dtbschedmgr/include/adapter/dnetwork_adapter.h b/services/dtbschedmgr/include/adapter/dnetwork_adapter.h index e1bc76aa..4054e5ac 100644 --- a/services/dtbschedmgr/include/adapter/dnetwork_adapter.h +++ b/services/dtbschedmgr/include/adapter/dnetwork_adapter.h @@ -59,7 +59,7 @@ public: private: DISALLOW_COPY_AND_MOVE(DnetworkAdapter); - std::string GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeivceInfoKey keyType); + std::string GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeviceInfoKey keyType); static void OnNodeOnline(NodeBasicInfo* info); static void OnNodeOffline(NodeBasicInfo* info); static void OnNodeBasicInfoChanged(NodeBasicInfoType type, NodeBasicInfo* info); diff --git a/services/dtbschedmgr/src/adapter/dnetwork_adapter.cpp b/services/dtbschedmgr/src/adapter/dnetwork_adapter.cpp index aaea05c5..43fb6ac6 100644 --- a/services/dtbschedmgr/src/adapter/dnetwork_adapter.cpp +++ b/services/dtbschedmgr/src/adapter/dnetwork_adapter.cpp @@ -176,15 +176,15 @@ std::shared_ptr DnetworkAdapter::GetLocalBasicInfo() std::string DnetworkAdapter::GetUdidByNetworkId(const std::string& networkId) { - return GetUuidOrUdidByNetworkId(networkId, NodeDeivceInfoKey::NODE_KEY_UDID); + return GetUuidOrUdidByNetworkId(networkId, NodeDeviceInfoKey::NODE_KEY_UDID); } std::string DnetworkAdapter::GetUuidByNetworkId(const std::string& networkId) { - return GetUuidOrUdidByNetworkId(networkId, NodeDeivceInfoKey::NODE_KEY_UUID); + return GetUuidOrUdidByNetworkId(networkId, NodeDeviceInfoKey::NODE_KEY_UUID); } -std::string DnetworkAdapter::GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeivceInfoKey keyType) +std::string DnetworkAdapter::GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeviceInfoKey keyType) { if (networkId.empty()) { return std::string();