Skip to content

Commit

Permalink
[SBI] fixed wrong request-nf-type (#1650)
Browse files Browse the repository at this point in the history
  • Loading branch information
acetcom committed Jul 8, 2022
1 parent fe11ee1 commit fce0eb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sbi/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,9 @@ bool ogs_nnrf_disc_send_nf_discover(ogs_sbi_nf_instance_t *nf_instance,
client = nf_instance->client;
ogs_assert(client);

ogs_assert(ogs_sbi_self()->nf_instance);
request = ogs_nnrf_disc_build_discover(
target_nf_type, nf_instance->nf_type);
target_nf_type, ogs_sbi_self()->nf_instance->nf_type);
ogs_expect_or_return_val(request, false);

return ogs_sbi_client_send_request(client, client->cb, request, data);
Expand Down

0 comments on commit fce0eb4

Please sign in to comment.