mirror of https://github.com/apache/jclouds.git
Fix response attr selection for listSSHKeypair for 2.2.12 API
This commit is contained in:
parent
f467e4a0c1
commit
40d9d3789a
|
@ -53,7 +53,7 @@ public interface SSHKeyPairAsyncClient {
|
||||||
*/
|
*/
|
||||||
@GET
|
@GET
|
||||||
@QueryParams(keys = "command", values = "listSSHKeyPairs")
|
@QueryParams(keys = "command", values = "listSSHKeyPairs")
|
||||||
@SelectJson("keypair")
|
@SelectJson("sshkeypair")
|
||||||
@Consumes(MediaType.APPLICATION_JSON)
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
@ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
|
@ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
|
||||||
ListenableFuture<Set<SshKeyPair>> listSSHKeyPairs(ListSSHKeyPairsOptions... options);
|
ListenableFuture<Set<SshKeyPair>> listSSHKeyPairs(ListSSHKeyPairsOptions... options);
|
||||||
|
@ -81,7 +81,7 @@ public interface SSHKeyPairAsyncClient {
|
||||||
*/
|
*/
|
||||||
@GET
|
@GET
|
||||||
@QueryParams(keys = "command", values = "listSSHKeyPairs")
|
@QueryParams(keys = "command", values = "listSSHKeyPairs")
|
||||||
@SelectJson("keypair")
|
@SelectJson("sshkeypair")
|
||||||
@OnlyElement()
|
@OnlyElement()
|
||||||
@Consumes(MediaType.APPLICATION_JSON)
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
@ExceptionParser(ReturnNullOnNotFoundOr404.class)
|
@ExceptionParser(ReturnNullOnNotFoundOr404.class)
|
||||||
|
|
Loading…
Reference in New Issue