weizhouapache commented on code in PR #14282:
URL: https://github.com/apache/cloudstack/pull/14282#discussion_r4199360528
##########
server/src/main/java/com/cloud/network/NetworkModelImpl.java:
##########
@@ -2743,7 +2743,8 @@ public ConfigKey<?>[] getConfigKeys() {
@Override
public String getValidNetworkCidr(Network guestNetwork) {
String networkCidr = guestNetwork.getNetworkCidr();
- return networkCidr == null ? guestNetwork.getCidr() : networkCidr;
+ String cidr = networkCidr == null ? guestNetwork.getCidr() :
networkCidr;
+ return
com.cloud.utils.StringUtils.getFirstValueFromCommaSeparatedString(cidr);
Review Comment:
it is a case we need to test. It worked before.
--
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]