From cbf4336c5387893e9da5fc154b11cc1aa48bbe41 Mon Sep 17 00:00:00 2001 From: rangajal Date: Thu, 12 Nov 2020 04:08:19 +0000 Subject: [PATCH] code violation fix in httprestful.go Change-Id: Iabe9ca50e2f2146b840d772327d2dc8dc7787e2e Signed-off-by: rangajal --- RELNOTES | 3 +++ container-tag.yaml | 2 +- pkg/nbi/httprestful.go | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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 } -- 2.16.6