Author: adietish
Date: 2011-01-03 10:03:04 -0500 (Mon, 03 Jan 2011)
New Revision: 27842
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java
Log:
[JBIDE-8005] workaround for bug in steamcannon that did not allow us to launch an instance
with a given key (and we therefore could only launch but not connect to it)
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java 2011-01-03
14:31:47 UTC (rev 27841)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java 2011-01-03
15:03:04 UTC (rev 27842)
@@ -50,6 +50,9 @@
protected String doCreateUrl(UrlBuilder urlBuilder) {
return urlBuilder.path("instances")
.parameter("keyname", keyname)
+ // WORKAROUND for JBIDE-8005, STEAM-303
+ .parameter("key_name", keyname)
+ // WORKAROUND for JBIDE-8005, STEAM-303
.parameter("image_id", imageId)
.parameter("hwp_id", profileId)
.parameter("realm_id", realmId)
Show replies by date