diff --git a/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/FloatingIPAsyncClient.java b/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/FloatingIPAsyncClient.java index f296efb019..f70a68f12b 100644 --- a/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/FloatingIPAsyncClient.java +++ b/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/FloatingIPAsyncClient.java @@ -101,9 +101,9 @@ public interface FloatingIPAsyncClient { @Path("/servers/{server}/action") @Consumes @Produces(MediaType.APPLICATION_JSON) - @Payload("%7B\"addFloatingIp\":%7B\"server\":\"{server}\",\"address\":\"{address}\"%7D%7D") + @Payload("%7B\"addFloatingIp\":%7B\"address\":\"{address}\"%7D%7D") ListenableFuture addFloatingIP( - @PayloadParam("server") String serverId, + @PathParam("server") String serverId, @PayloadParam("address") String address); /** @@ -113,9 +113,9 @@ public interface FloatingIPAsyncClient { @Path("/servers/{server}/action") @Consumes @Produces(MediaType.APPLICATION_JSON) - @Payload("%7B\"removeFloatingIp\":%7B\"server\":\"{server}\",\"address\":\"{address}\"%7D%7D") + @Payload("%7B\"removeFloatingIp\":%7B\"address\":\"{address}\"%7D%7D") ListenableFuture removeFloatingIP( - @PayloadParam("server") String serverId, + @PathParam("server") String serverId, @PayloadParam("address") String address); }