mirror of https://github.com/apache/jclouds.git
Fixed Issue 1063. See http://code.google.com/p/jclouds/issues/detail?id=1063
Old code was using flavorId in the request body when what is required is flavorRef. See http://docs.openstack.org/api/openstack-compute/2/content/Resize_Server-d1e3707.html
This commit is contained in:
parent
faa3f7ff45
commit
b16a0667a4
|
@ -144,7 +144,7 @@ public interface ServerAsyncApi {
|
|||
@Path("/servers/{id}/action")
|
||||
@Consumes
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Payload("%7B\"resize\":%7B\"flavorId\":{flavorId}%7D%7D")
|
||||
@Payload("%7B\"resize\":%7B\"flavorRef\":{flavorId}%7D%7D")
|
||||
ListenableFuture<Void> resizeServer(@PathParam("id") String id, @PayloadParam("flavorId") String flavorId);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue