From bb7109b4b6d22f32df0df7ce7136e76ac3936be3 Mon Sep 17 00:00:00 2001 From: kishan Date: Fri, 18 May 2012 16:41:49 +0530 Subject: [PATCH] bug CS-14965: RegisterSSHKeypair API. allow public key length upto 5120 status CS-14965: resolved fixed reviewed-by: Nitin --- api/src/com/cloud/api/commands/RegisterSSHKeyPairCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/com/cloud/api/commands/RegisterSSHKeyPairCmd.java b/api/src/com/cloud/api/commands/RegisterSSHKeyPairCmd.java index f1a687a93d9..079486c9a6b 100644 --- a/api/src/com/cloud/api/commands/RegisterSSHKeyPairCmd.java +++ b/api/src/com/cloud/api/commands/RegisterSSHKeyPairCmd.java @@ -36,7 +36,7 @@ public class RegisterSSHKeyPairCmd extends BaseCmd { @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, required=true, description="Name of the keypair") private String name; - @Parameter(name="publickey", type=CommandType.STRING, required=true, description="Public key material of the keypair") + @Parameter(name="publickey", type=CommandType.STRING, required=true, description="Public key material of the keypair", length=5120) private String publicKey; //Owner information