From 2340e42913a237d66bba8d0106a28f4320b3bdfe Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 16 Nov 2023 03:33:11 +0000 Subject: [PATCH] Fix lint error --- internal/sbi/consumer/subscriber_data_management.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/sbi/consumer/subscriber_data_management.go b/internal/sbi/consumer/subscriber_data_management.go index cf1a64e8..95a8e809 100644 --- a/internal/sbi/consumer/subscriber_data_management.go +++ b/internal/sbi/consumer/subscriber_data_management.go @@ -240,11 +240,11 @@ func SDMUnsubscribe(ue *amf_context.AmfUe) (problemDetails *models.ProblemDetail } }() if localErr == nil { - return + return problemDetails, err } else if httpResp != nil { if httpResp.Status != localErr.Error() { err = localErr - return + return problemDetails, err } problem := localErr.(openapi.GenericOpenAPIError).Model().(models.ProblemDetails) problemDetails = &problem