mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +00:00
parent
1ba7a73abd
commit
63df530bb4
123 changed files with 2132 additions and 42 deletions
|
|
@ -215,6 +215,14 @@ cJSON *OpenAPI_dnn_upf_info_item_convertToJSON(OpenAPI_dnn_upf_info_item_t *dnn_
|
|||
if (dnn_upf_info_item->dnai_nw_instance_list) {
|
||||
OpenAPI_list_for_each(dnn_upf_info_item->dnai_nw_instance_list, node) {
|
||||
OpenAPI_map_t *localKeyValue = (OpenAPI_map_t*)node->data;
|
||||
if (localKeyValue == NULL) {
|
||||
ogs_error("OpenAPI_dnn_upf_info_item_convertToJSON() failed [dnai_nw_instance_list]");
|
||||
goto end;
|
||||
}
|
||||
if (localKeyValue->key == NULL) {
|
||||
ogs_error("OpenAPI_dnn_upf_info_item_convertToJSON() failed [dnai_nw_instance_list]");
|
||||
goto end;
|
||||
}
|
||||
if (cJSON_AddStringToObject(localMapObject, localKeyValue->key, (char*)localKeyValue->value) == NULL) {
|
||||
ogs_error("OpenAPI_dnn_upf_info_item_convertToJSON() failed [inner]");
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue