Author: adietish
Date: 2010-12-13 05:41:42 -0500 (Mon, 13 Dec 2010)
New Revision: 27402
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/PerformDestroyInstanceActionThread.java
Log:
[JBIDE-7877] fixed what action to execute when destroying instances
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/PerformDestroyInstanceActionThread.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/PerformDestroyInstanceActionThread.java 2010-12-13
10:38:59 UTC (rev 27401)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/PerformDestroyInstanceActionThread.java 2010-12-13
10:41:42 UTC (rev 27402)
@@ -48,7 +48,7 @@
@Override
public void run() {
try {
- cloud.performInstanceAction(instance.getId(), DeltaCloudInstance.START);
+ cloud.performInstanceAction(instance.getId(), DeltaCloudInstance.DESTROY);
} catch (DeltaCloudException e) {
// TODO internationalize strings
ErrorUtils.handleError("Error",
Show replies by date