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 2021/12/08 10:54:11 UTC

[GitHub] [cloudstack] ravening commented on a change in pull request #5753: server: Fix NPE while deleting a domain

ravening commented on a change in pull request #5753:
URL: https://github.com/apache/cloudstack/pull/5753#discussion_r764756527



##########
File path: server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
##########
@@ -4923,6 +4923,7 @@ public boolean releasePublicIpRange(final long vlanDbId, final long userId, fina
         VlanVO vlan = _vlanDao.findById(vlanDbId);
         if(vlan == null) {
             s_logger.warn("VLAN information for Account '" + caller + "', User '" + userId + "' VLAN '" + vlanDbId + "' is null. This is NPE situation.");
+            return false;

Review comment:
       @weizhouapache return true




-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org