You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/01/16 09:12:52 UTC

[GitHub] [cloudstack] ravening commented on a change in pull request #3739: Add new command to update security group name

ravening commented on a change in pull request #3739: Add new command to update security group name
URL: https://github.com/apache/cloudstack/pull/3739#discussion_r367304782
 
 

 ##########
 File path: server/src/main/java/com/cloud/network/security/SecurityGroupManagerImpl.java
 ##########
 @@ -858,6 +859,10 @@ public SecurityGroupVO createSecurityGroup(CreateSecurityGroupCmd cmd) throws Pe
         Account caller = CallContext.current().getCallingAccount();
         Account owner = _accountMgr.finalizeOwner(caller, cmd.getAccountName(), cmd.getDomainId(), cmd.getProjectId());
 
+        if (name.trim().equals("")) {
 
 Review comment:
   Updated the code

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services