Skip to content

Commit

Permalink
fix:ci-lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
donald1218 committed May 27, 2024
1 parent 5c5a5e0 commit 84c470c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions internal/sbi/processor/event_exposure.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ func (p *Processor) HandleModifyAMFEventSubscription(c *gin.Context) {
return
}

updatedEventSubscription, problemDetails :=
p.ModifyAMFEventSubscriptionProcedure(subscriptionID, modifySubscriptionRequest)
updatedEventSubscription, problemDetails := p.
ModifyAMFEventSubscriptionProcedure(subscriptionID, modifySubscriptionRequest)
if updatedEventSubscription != nil {
c.JSON(http.StatusOK, updatedEventSubscription)
} else if problemDetails != nil {
Expand Down
7 changes: 4 additions & 3 deletions internal/sbi/processor/n1n2message.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import (

// TS23502 4.2.3.3, 4.2.4.3, 4.3.2.2, 4.3.2.3, 4.3.3.2, 4.3.7
func (p *Processor) HandleN1N2MessageTransferRequest(c *gin.Context,
n1n2MessageTransferRequest models.N1N2MessageTransferRequest) {
n1n2MessageTransferRequest models.N1N2MessageTransferRequest,
) {
logger.ProducerLog.Infof("Handle N1N2 Message Transfer Request")

ueContextID := c.Param("ueContextId")
Expand Down Expand Up @@ -432,8 +433,8 @@ func (p *Processor) HandleN1N2MessageSubscribeRequest(c *gin.Context) {

ueContextID := c.Param("ueContextId")

ueN1N2InfoSubscriptionCreatedData, problemDetails :=
p.N1N2MessageSubscribeProcedure(ueContextID, ueN1N2InfoSubscriptionCreateData)
ueN1N2InfoSubscriptionCreatedData, problemDetails := p.
N1N2MessageSubscribeProcedure(ueContextID, ueN1N2InfoSubscriptionCreateData)
if problemDetails != nil {
c.JSON(int(problemDetails.Status), problemDetails)
} else {
Expand Down
4 changes: 2 additions & 2 deletions internal/sbi/processor/subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ func (p *Processor) HandleAMFStatusChangeSubscribeModify(c *gin.Context) {

subscriptionID := c.Param("subscriptionId")

updatedSubscriptionData, problemDetails :=
p.AMFStatusChangeSubscribeModifyProcedure(subscriptionID, updateSubscriptionData)
updatedSubscriptionData, problemDetails := p.
AMFStatusChangeSubscribeModifyProcedure(subscriptionID, updateSubscriptionData)
if problemDetails != nil {
c.JSON(int(problemDetails.Status), problemDetails)
return
Expand Down

0 comments on commit 84c470c

Please sign in to comment.