Skip to content

Commit

Permalink
testes
Browse files Browse the repository at this point in the history
  • Loading branch information
muriloAvlis committed Apr 16, 2024
1 parent fe357fc commit 38a519a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkg/nib/rnib/rnib.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func (c *Client) DeleteRsmSliceList(ctx context.Context, nodeID topoapi.ID) erro
func (c *Client) HasRANFunction(ctx context.Context, nodeID topoapi.ID, oid string) bool {
// get E2Nodes aspects
e2Node, err := c.GetE2NodeAspects(ctx, nodeID)
log.Debug("test2")
if err != nil {
log.Warn(err)
return false
Expand All @@ -78,13 +79,9 @@ func (c *Client) HasRANFunction(ctx context.Context, nodeID topoapi.ID, oid stri

// Gets E2 Node aspects
func (c *Client) GetE2NodeAspects(ctx context.Context, nodeID topoapi.ID) (*topoapi.E2Node, error) {

// get object by NodeID
object, err := c.client.Get(ctx, nodeID)
log.Debug(object.GetEntity().GetKindID())
log.Debug(object.GetKind().GetName())
log.Info("test")
log.Info("test2")
log.Debug("test")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 38a519a

Please sign in to comment.