code violation fix in httprestful.go
Change-Id: Iabe9ca50e2f2146b840d772327d2dc8dc7787e2e
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
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 provideXappHandleHandlerImpl(data *models.XappCallbackData) error {
- if data != nil {
+ if data == nil {
xapp.Logger.Debug("Received callback data")
return nil
}