summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/api
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-09-10 02:19:43 -0700
committerVictor Morales <victor.morales@intel.com>2018-09-10 02:24:08 -0700
commite7a7b50f6fc0f036eeb116f95e8e5fb8d56aa4ef (patch)
treeddb30ce6aae8e593f8c6d03f51e2c2058bd6bf21 /src/k8splugin/api
parent5b6f0c4efbfdc0c9bcb440c8da132bdaee4e518d (diff)
Add no_proxy config value to docker-compose.yml
The no_proxy configuration value was missing in the docker-compose.yml this was causing a different behaviour when the functional tests were running and consuming the services on the container. Change-Id: Ie88e88d50e0ec9c4aa0d03367f2a9d25edccb753 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
Diffstat (limited to 'src/k8splugin/api')
-rw-r--r--src/k8splugin/api/handler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/k8splugin/api/handler.go b/src/k8splugin/api/handler.go
index 27d060aa..4635e7ba 100644
--- a/src/k8splugin/api/handler.go
+++ b/src/k8splugin/api/handler.go
@@ -120,7 +120,7 @@ func CreateHandler(w http.ResponseWriter, r *http.Request) {
// "{"deployment":<>,"service":<>}"
out, err := json.Marshal(resourceNameMap)
if err != nil {
- werr := pkgerrors.Wrap(err, "Create VNF deployment error")
+ werr := pkgerrors.Wrap(err, "Create VNF deployment JSON Marshalling error")
http.Error(w, werr.Error(), http.StatusInternalServerError)
return
}
@@ -130,7 +130,7 @@ func CreateHandler(w http.ResponseWriter, r *http.Request) {
// value: "{"deployment":<>,"service":<>}"
err = db.DBconn.CreateEntry(internalVNFID, serializedResourceNameMap)
if err != nil {
- werr := pkgerrors.Wrap(err, "Create VNF deployment error")
+ werr := pkgerrors.Wrap(err, "Create VNF deployment DB error")
http.Error(w, werr.Error(), http.StatusInternalServerError)
return
}