Commit 715c9a18 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix typo

parent 1be6e65d
...@@ -19,7 +19,7 @@ void AMFApiServer::init(size_t thr) { ...@@ -19,7 +19,7 @@ void AMFApiServer::init(size_t thr) {
m_nonUEN2MessagesSubscriptionsCollectionDocumentApiImpl->init(); m_nonUEN2MessagesSubscriptionsCollectionDocumentApiImpl->init();
m_subscriptionsCollectionDocumentApiImpl->init(); m_subscriptionsCollectionDocumentApiImpl->init();
m_subscriptionsCollectionDocumentApiImplEventExposure->init(); m_subscriptionsCollectionDocumentApiImplEventExposure->init();
Logger::amf_server().debug("Initiate AMF server endpoints done!"); Logger::amf_server().debug("Initiate AMF Server Endpoints done!");
} }
void AMFApiServer::start() { void AMFApiServer::start() {
......
...@@ -132,7 +132,7 @@ void amf_http2_server::start() { ...@@ -132,7 +132,7 @@ void amf_http2_server::start() {
res, parts[2].body); res, parts[2].body);
} catch (nlohmann::detail::exception& e) { } catch (nlohmann::detail::exception& e) {
Logger::amf_server().warn( Logger::amf_server().warn(
"Can not parse the json data (error: %s)!", e.what()); "Cannot parse the JSON data (error: %s)!", e.what());
res.write_head(static_cast<uint32_t>( res.write_head(static_cast<uint32_t>(
http_response_codes_e::HTTP_RESPONSE_CODE_BAD_REQUEST)); http_response_codes_e::HTTP_RESPONSE_CODE_BAD_REQUEST));
res.end(); res.end();
...@@ -177,7 +177,7 @@ void amf_http2_server::n1_n2_message_transfer_handler( ...@@ -177,7 +177,7 @@ void amf_http2_server::n1_n2_message_transfer_handler(
if (!m_amf_app->find_pdu_session_context( if (!m_amf_app->find_pdu_session_context(
supi, (uint8_t) n1N2MessageTransferReqData.getPduSessionId(), psc)) { supi, (uint8_t) n1N2MessageTransferReqData.getPduSessionId(), psc)) {
Logger::amf_server().error( Logger::amf_server().error(
"Cannot get pdu_session_context with SUPI (%s)", supi.c_str()); "Cannot get PDU Session Context with SUPI (%s)", supi.c_str());
// Send response to the NF Service Consumer (e.g., SMF) // Send response to the NF Service Consumer (e.g., SMF)
res.write_head(static_cast<uint32_t>( res.write_head(static_cast<uint32_t>(
http_response_codes_e::HTTP_RESPONSE_CODE_BAD_REQUEST)); http_response_codes_e::HTTP_RESPONSE_CODE_BAD_REQUEST));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment