sureshanaparti commented on code in PR #9059:
URL: https://github.com/apache/cloudstack/pull/9059#discussion_r1650461762


##########
server/src/main/java/com/cloud/network/IpAddressManagerImpl.java:
##########
@@ -732,8 +732,9 @@ public boolean disassociatePublicIpAddress(long addrId, 
long userId, Account cal
         PublicIpQuarantine publicIpQuarantine = null;
         // Cleanup all ip address resources - PF/LB/Static nat rules
         if (!cleanupIpResources(addrId, userId, caller)) {
-            success = false;
-            s_logger.warn("Failed to release resources for ip address id=" + 
addrId);
+            String msg = String.format("Failed to release resources for ip 
address id=%s", addrId);
+            s_logger.error(msg);
+            throw new CloudRuntimeException(msg);

Review Comment:
   Hi @weizhouapache should these be addressed here, or later in separate PR?



-- 
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-unsubscr...@cloudstack.apache.org

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

Reply via email to