From 6531f761ff646071ac26c99116dbcb46b91a1bad Mon Sep 17 00:00:00 2001 From: Piotr Gawlowicz Date: Tue, 21 Mar 2023 15:20:44 +0100 Subject: [PATCH] e2ap: fix bug --- srsgnb/src/stack/ric/ric_subscription.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srsgnb/src/stack/ric/ric_subscription.cc b/srsgnb/src/stack/ric/ric_subscription.cc index 7b69f8aeb..4106e4566 100644 --- a/srsgnb/src/stack/ric/ric_subscription.cc +++ b/srsgnb/src/stack/ric/ric_subscription.cc @@ -72,11 +72,10 @@ ric_client::ric_subscription::ric_subscription(ric_client* ric_cli action_item.ric_action_type, action_item.ric_subsequent_action.ric_subsequent_action_type, action_item.ric_subsequent_action.ric_time_to_wait); - } else { - parent->logger.debug( - "Not admitted action %i (type: %i)", action_item.ric_action_id, action_item.ric_action_type); - not_admitted_actions.push_back(action_item.ric_action_id); } + } else { + parent->logger.debug("Not admitted action %i (type: %i)", action_item.ric_action_id, action_item.ric_action_type); + not_admitted_actions.push_back(action_item.ric_action_id); } } }