mirror of https://github.com/apache/jclouds.git
Merge pull request #145 from vijaykiran/master
Changed the response json attr selection according to the 2.2.12 API response.
This commit is contained in:
commit
16176c6d20
|
@ -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<Set<SshKeyPair>> 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)
|
||||
|
|
Loading…
Reference in New Issue