From: rangajal Date: Thu, 12 Nov 2020 04:08:19 +0000 (+0000) Subject: code violation fix in httprestful.go X-Git-Tag: 0.6.10^0 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=cbf4336c5387893e9da5fc154b11cc1aa48bbe41;p=ric-plt%2Frtmgr.git code violation fix in httprestful.go Change-Id: Iabe9ca50e2f2146b840d772327d2dc8dc7787e2e Signed-off-by: rangajal --- diff --git a/RELNOTES b/RELNOTES index d248e38..a473b2a 100644 --- a/RELNOTES +++ b/RELNOTES @@ -1,3 +1,6 @@ +### v0.6.10 +* Code violations fixed in pkg/nbi/httprestful.go + ### v0.6.9 * Code violations fixed in pkg/nbi/httprestful.go and pkg/nbi/control.go diff --git a/container-tag.yaml b/container-tag.yaml index a6070e9..f100f86 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -2,4 +2,4 @@ # By default this file is in the docker build directory, # but the location can configured in the JJB template. --- -tag: 0.6.9 +tag: 0.6.10 diff --git a/pkg/nbi/httprestful.go b/pkg/nbi/httprestful.go index d57fb18..555aefc 100644 --- a/pkg/nbi/httprestful.go +++ b/pkg/nbi/httprestful.go @@ -125,7 +125,7 @@ func validateXappCallbackData(callbackData *models.XappCallbackData) error { } func provideXappHandleHandlerImpl(data *models.XappCallbackData) error { - if data != nil { + if data == nil { xapp.Logger.Debug("Received callback data") return nil }