}
}
if(isRegisterApp) {
- checkRegisterApp(std::string(appid));
+ checkRegisterApp(request->api, std::string(appid));
}
return ret;
}
* check register application
*
* #### Parameters
+ * - api : the api
* - appid : register application's id
*
* #### Return
* None
*
*/
-void HS_ClientManager::checkRegisterApp(const std::string &appid)
+void HS_ClientManager::checkRegisterApp(afb_api_t api, const std::string &appid)
{
- AFB_INFO("appid=[%s].", appid.c_str());
- if(HS_AppRecover::instance()->registerRecoveredApp(appid)) {
- AFB_NOTICE("register recover application.");
+ if(HS_AppRecover::instance()->registerRecoveredApp(api, appid)) {
+ AFB_INFO("register recover application.");
return;
}