We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e55302 + 54df739 commit 7b48ab4Copy full SHA for 7b48ab4
internal/sbi/processor/pdu_session.go
@@ -5,6 +5,7 @@ import (
5
"errors"
6
"net"
7
"net/http"
8
+ "reflect"
9
10
"github.com/antihax/optional"
11
"github.com/gin-gonic/gin"
@@ -457,7 +458,7 @@ func (p *Processor) HandlePDUSessionSMContextUpdate(
457
458
smContext.UpCnxState = body.JsonData.UpCnxState
459
// UE location change is a charging event
460
// TODO: This is not tested yet
- if smContext.UeLocation != body.JsonData.UeLocation {
461
+ if !reflect.DeepEqual(smContext.UeLocation, body.JsonData.UeLocation) {
462
// All rating group related to this Pdu session should send charging request
463
for _, dataPath := range tunnel.DataPathPool {
464
if dataPath.Activated {
0 commit comments