From 84c470cdcb6c7255b95e960044dfddf4be7438a4 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Mon, 27 May 2024 05:19:28 +0000 Subject: [PATCH] fix:ci-lint error --- internal/sbi/processor/event_exposure.go | 4 ++-- internal/sbi/processor/n1n2message.go | 7 ++++--- internal/sbi/processor/subscription.go | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/internal/sbi/processor/event_exposure.go b/internal/sbi/processor/event_exposure.go index dcec94c..c41ea21 100644 --- a/internal/sbi/processor/event_exposure.go +++ b/internal/sbi/processor/event_exposure.go @@ -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 { diff --git a/internal/sbi/processor/n1n2message.go b/internal/sbi/processor/n1n2message.go index b774c0f..92a58af 100644 --- a/internal/sbi/processor/n1n2message.go +++ b/internal/sbi/processor/n1n2message.go @@ -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") @@ -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 { diff --git a/internal/sbi/processor/subscription.go b/internal/sbi/processor/subscription.go index b9d913d..bb74697 100644 --- a/internal/sbi/processor/subscription.go +++ b/internal/sbi/processor/subscription.go @@ -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