Fix swapped parameters for multicloud DELETE 12/70512/1
authorEric Multanen <eric.w.multanen@intel.com>
Tue, 16 Oct 2018 07:30:24 +0000 (00:30 -0700)
committerEric Multanen <eric.w.multanen@intel.com>
Tue, 16 Oct 2018 07:30:24 +0000 (00:30 -0700)
cloudSiteId and tenantId were swapped in call to
deleteStack().

Change-Id: I56bc326cb680dabb9d397cb7f0f918e406cb8bba
Issue-ID: SO-1139
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoMulticloudUtils.java

index 3451b76..64f957b 100644 (file)
@@ -700,7 +700,7 @@ public class MsoMulticloudUtils extends MsoHeatUtils implements VduPlugin{
 
         try {
             // Delete the Multicloud stack
-            StackInfo stackInfo = deleteStack (tenantId, cloudSiteId, instanceId);
+            StackInfo stackInfo = deleteStack (cloudSiteId, tenantId, instanceId);
 
             // Populate a VduInstance based on the deleted Cloudify Deployment object
             VduInstance vduInstance = stackInfoToVduInstance(stackInfo);