soreana opened a new pull request #4023: FIX: prevent empty sshkey name.
URL: https://github.com/apache/cloudstack/pull/4023
 
 
   ## Description
   It is a small bug fix preventing ssh key name to be empty.
   
   
   Items | FIX CloudStack API allows SSHKeyPair name to be empty
   -- | --
   Steps | create a sshkeypair with empty name `cloudmonkey create sshkeypair 
name=`
   Expected Results | operation should fail
   Actual results | sshkey pair is created successfully
   
   
   ## Types of changes
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ## How Has This Been Tested?
   Created a small Cloudstack environment with three hypervisor and one 
management server. Try to create sshKey with empty name via cloudmonkey.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to