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:
Everett Toews 2012-08-10 14:14:42 -05:00
parent faa3f7ff45
commit b16a0667a4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
/**