Github user kansal commented on the pull request:

    https://github.com/apache/cloudstack/pull/685#issuecomment-130539282
  
    @kishankavala  The current implementation of the createSSHKeyPair checks 
for the keypair-name in the table ssh_keypairs and if that name exists it will 
return "A keypair with the <name> exists." But at the time of inserting the 
keypairs it will not insert the same key once again because of the UNIQUE 
constraint that is added in the above commit. So In a way the duplication 
problem is automatically checked. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to