aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/module/deployment_intent_groups.go
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2020-07-30 23:49:54 +0000
committerRajamohan Raj <rajamohan.raj@intel.com>2020-08-03 17:45:06 +0000
commitd6f900721c81a2c03cb1a21a3d2064e9a69fc4b7 (patch)
tree3bc9e29fe27650563454dda5e92878c3958fae45 /src/orchestrator/pkg/module/deployment_intent_groups.go
parentdd8caf8bc7024ec0ef1bfe448b0f61428a69ba05 (diff)
Sanity test script for new releases.
Developed a script which can be used to test a new release and confirm that the minimum components like clm, instantiation by orchestrator and rsync are working fine after the code change. Issue-ID: MULTICLOUD-1174 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I7d519fa88b71fb34d13b7d61f3f8b36edc9fa5f3
Diffstat (limited to 'src/orchestrator/pkg/module/deployment_intent_groups.go')
-rw-r--r--src/orchestrator/pkg/module/deployment_intent_groups.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/orchestrator/pkg/module/deployment_intent_groups.go b/src/orchestrator/pkg/module/deployment_intent_groups.go
index c7237032..35b03564 100644
--- a/src/orchestrator/pkg/module/deployment_intent_groups.go
+++ b/src/orchestrator/pkg/module/deployment_intent_groups.go
@@ -243,7 +243,7 @@ func (c *DeploymentIntentGroupClient) DeleteDeploymentIntentGroup(di string, p s
}
_, _, err := c.GetDeploymentIntentGroupContext(di, p, ca, v)
if err == nil {
- return pkgerrors.Wrap(err, "DeploymentIntentGroup must be terminated before it can be deleted "+di)
+ return pkgerrors.New("DeploymentIntentGroup must be terminated before it can be deleted " + di)
}
err = db.DBconn.Remove(c.storeName, k)