Skip to content

Commit db3c12d

Browse files
author
Daan Hoogland
committed
Merge branch '4.13' into 4.14
2 parents 9a253c4 + cc8bee7 commit db3c12d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2532,7 +2532,7 @@ protected URI encodeVlanIdIntoBroadcastUri(String vlanId, PhysicalNetwork pNtwk)
25322532
throw new InvalidParameterValueException(String.format("Failed to encode VLAN/VXLAN %s into a Broadcast URI. Physical Network cannot be null.", vlanId));
25332533
}
25342534

2535-
if(StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {
2535+
if(!pNtwk.getIsolationMethods().isEmpty() && StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {
25362536
String isolationMethod = pNtwk.getIsolationMethods().get(0).toLowerCase();
25372537
String vxlan = BroadcastDomainType.Vxlan.toString().toLowerCase();
25382538
if(isolationMethod.equals(vxlan)) {

0 commit comments

Comments
 (0)