Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

pass in kernel id

  • Loading branch information...
commit 3c791d5b0ed862d663d2b27919625ba3ed4f02fd 1 parent eed3e5d
@buzztroll buzztroll authored
View
9 messaging/query/java/source/src/org/nimbustools/messaging/query/v2009_08_15/ElasticService.java
@@ -228,7 +228,8 @@ public RunInstancesResponseType handleGet(
@FormParam("InstanceType") String instanceType,
@FormParam("Placement.GroupName") String groupName,
@FormParam("Placement.AvailabilityZone") String availabilityZone,
- @FormParam("ClientToken") String clientToken) {
+ @FormParam("ClientToken") String clientToken,
+ @FormParam("KernelId") String kernelId) {
// only including parameters that are actually used right now
assureRequiredParameter("ImageId", imageId);
@@ -253,6 +254,7 @@ public RunInstancesResponseType handleGet(
request.setPlacement(placement);
}
request.setClientToken(clientToken);
+ request.setKernelId(kernelId);
try {
return serviceRM.runInstances(request);
@@ -273,8 +275,9 @@ public RunInstancesResponseType handlePost(
@FormParam("InstanceType") String instanceType,
@FormParam("Placement.GroupName") String groupName,
@FormParam("Placement.AvailabilityZone") String availabilityZone,
- @FormParam("ClientToken") String clientToken) {
- return handleGet(imageId, minCount, maxCount, keyName, userData, instanceType, groupName, availabilityZone, clientToken);
+ @FormParam("ClientToken") String clientToken,
+ @FormParam("KernelId") String kernelId) {
+ return handleGet(imageId, minCount, maxCount, keyName, userData, instanceType, groupName, availabilityZone, clientToken, kernelId);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.