mirror of https://github.com/apache/cloudstack.git
bug 11412: use "sshkeypair" instead of "keypair" in response name for ssh commands
status 11412: resolved fixed
This commit is contained in:
parent
7ac764005b
commit
4bdfec16f5
|
|
@ -32,7 +32,7 @@ import com.cloud.user.UserContext;
|
|||
@Implementation(description="Create a new keypair and returns the private key", responseObject=SSHKeyPairResponse.class)
|
||||
public class CreateSSHKeyPairCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(CreateSSHKeyPairCmd.class.getName());
|
||||
private static final String s_name = "createkeypairresponse";
|
||||
private static final String s_name = "createsshkeypairresponse";
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import com.cloud.user.UserContext;
|
|||
@Implementation(description="Deletes a keypair by name", responseObject=SuccessResponse.class)
|
||||
public class DeleteSSHKeyPairCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(CreateSSHKeyPairCmd.class.getName());
|
||||
private static final String s_name = "deletekeypairresponse";
|
||||
private static final String s_name = "deletesshkeypairresponse";
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ public class ListSSHKeyPairsCmd extends BaseListCmd {
|
|||
List<SSHKeyPairResponse> responses = new ArrayList<SSHKeyPairResponse>();
|
||||
for (SSHKeyPair result : resultList) {
|
||||
SSHKeyPairResponse r = new SSHKeyPairResponse(result.getName(), result.getFingerprint());
|
||||
r.setObjectName("keypair");
|
||||
r.setObjectName("sshkeypair");
|
||||
responses.add(r);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.user.UserContext;
|
|||
@Implementation(description="Register a public key in a keypair under a certain name", responseObject=SSHKeyPairResponse.class)
|
||||
public class RegisterSSHKeyPairCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(RegisterSSHKeyPairCmd.class.getName());
|
||||
private static final String s_name = "registerkeypairresponse";
|
||||
private static final String s_name = "registersshkeypairresponse";
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue