Skip to content

Commit

Permalink
Update go-pfcp-networking
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Dec 13, 2024
1 parent d431a0e commit 48f3783
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.7
require (
github.com/adrg/xdg v0.5.3
github.com/gin-gonic/gin v1.10.0
github.com/nextmn/go-pfcp-networking v0.0.41-0.20241212103129-24fe84808302
github.com/nextmn/go-pfcp-networking v0.0.41-0.20241213191334-2767b639c015
github.com/nextmn/json-api v0.0.14
github.com/nextmn/logrus-formatter v0.0.1
github.com/sirupsen/logrus v1.9.3
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/nextmn/go-pfcp-networking v0.0.41-0.20241212103129-24fe84808302 h1:NlmeMncMd72Qf0jTnXLPxHnXVB07tGycVn7Nrvx4YXw=
github.com/nextmn/go-pfcp-networking v0.0.41-0.20241212103129-24fe84808302/go.mod h1:KYoKLiltDmHL2YMU5mz2k/E1xMoz4TpmzTz6Nr5u5gA=
github.com/nextmn/go-pfcp-networking v0.0.41-0.20241213191334-2767b639c015 h1:0ICHKYmbOXM2QB5D34rL1kfkAyMdqJZ3E8zZPx02bCg=
github.com/nextmn/go-pfcp-networking v0.0.41-0.20241213191334-2767b639c015/go.mod h1:KYoKLiltDmHL2YMU5mz2k/E1xMoz4TpmzTz6Nr5u5gA=
github.com/nextmn/json-api v0.0.14 h1:m4uHOVcXsxkXoxbrhqemLTRG4T86eYkejjirew1nDUU=
github.com/nextmn/json-api v0.0.14/go.mod h1:CQXeNPj9MDGsEExtnqJFIGjLgZAKsmOoO2fy+mep7Ak=
github.com/nextmn/logrus-formatter v0.0.1 h1:Bsf78jjiEESc+rV8xE6IyKj4frDPGMwXFNrLQzm6A1E=
Expand Down
5 changes: 2 additions & 3 deletions internal/smf/smf.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ func (smf *Smf) Start(ctx context.Context) error {
logrus.Info("Starting PFCP Server")
go func() {
defer close(smf.closed)
err := smf.srv.ListenAndServeContext(ctx)
if err != nil {
logrus.WithError(err).Trace("PFCP server stopped")
if err := smf.srv.ListenAndServeContext(ctx); err != nil {
logrus.WithError(err).Info("PFCP server stopped")
}
}()
ctxTimeout, cancel := context.WithTimeout(ctx, 100*time.Millisecond)
Expand Down

0 comments on commit 48f3783

Please sign in to comment.