From 40d9d3789abe9ed50c949f11759702df53856618 Mon Sep 17 00:00:00 2001 From: vijaykiran Date: Mon, 14 Nov 2011 16:21:11 +0100 Subject: [PATCH] Fix response attr selection for listSSHKeypair for 2.2.12 API --- .../jclouds/cloudstack/features/SSHKeyPairAsyncClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sandbox-apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/SSHKeyPairAsyncClient.java b/sandbox-apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/SSHKeyPairAsyncClient.java index 9a75d0962f..785f8741b5 100644 --- a/sandbox-apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/SSHKeyPairAsyncClient.java +++ b/sandbox-apis/cloudstack/src/main/java/org/jclouds/cloudstack/features/SSHKeyPairAsyncClient.java @@ -53,7 +53,7 @@ public interface SSHKeyPairAsyncClient { */ @GET @QueryParams(keys = "command", values = "listSSHKeyPairs") - @SelectJson("keypair") + @SelectJson("sshkeypair") @Consumes(MediaType.APPLICATION_JSON) @ExceptionParser(ReturnEmptySetOnNotFoundOr404.class) ListenableFuture> listSSHKeyPairs(ListSSHKeyPairsOptions... options); @@ -81,7 +81,7 @@ public interface SSHKeyPairAsyncClient { */ @GET @QueryParams(keys = "command", values = "listSSHKeyPairs") - @SelectJson("keypair") + @SelectJson("sshkeypair") @OnlyElement() @Consumes(MediaType.APPLICATION_JSON) @ExceptionParser(ReturnNullOnNotFoundOr404.class)