sureshanaparti commented on a change in pull request #5753:
URL: https://github.com/apache/cloudstack/pull/5753#discussion_r773087591
##########
File path:
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
##########
@@ -4922,7 +4922,9 @@ public boolean releasePublicIpRange(final
ReleasePublicIpRangeCmd cmd) {
public boolean releasePublicIpRange(final long vlanDbId, final long
userId, final Account caller) {
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.");
+ // Nothing to do if vlan can't be found
+ s_logger.warn("VLAN information for Account '" + caller + "', User
'" + userId + "' VLAN '" + vlanDbId + "' is null.");
+ return true;
Review comment:
Hi @ravening Can you address the required changes as suggested.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]