harikrishna-patnala commented on code in PR #11572:
URL: https://github.com/apache/cloudstack/pull/11572#discussion_r2321101649


##########
api/src/main/java/com/cloud/network/Networks.java:
##########
@@ -219,7 +219,7 @@ public static BroadcastDomainType toEnumValue(String 
scheme) {
          * @return the host part as String
          */
         public String getValueFrom(URI uri) {
-            return uri.getHost();
+            return uri == null ? null : uri.getHost();

Review Comment:
   there are two overrides for this method, do we need the change there as well 
?



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