Skip to content

Commit 79e46f5

Browse files
author
Daan Hoogland
committed
Merge branch '4.14'
2 parents a348afe + db3c12d commit 79e46f5

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
@@ -2671,7 +2671,7 @@ protected URI encodeVlanIdIntoBroadcastUri(String vlanId, PhysicalNetwork pNtwk)
26712671
throw new InvalidParameterValueException(String.format("Failed to encode VLAN/VXLAN %s into a Broadcast URI. Physical Network cannot be null.", vlanId));
26722672
}
26732673

2674-
if(StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {
2674+
if(!pNtwk.getIsolationMethods().isEmpty() && StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {
26752675
String isolationMethod = pNtwk.getIsolationMethods().get(0).toLowerCase();
26762676
String vxlan = BroadcastDomainType.Vxlan.toString().toLowerCase();
26772677
if(isolationMethod.equals(vxlan)) {

0 commit comments

Comments
 (0)