diff --git a/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java b/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java index 738f6be6560..9e3a6db0a20 100644 --- a/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java +++ b/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java @@ -941,7 +941,7 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra * @return ordered list of Network and NicProfile pair * @param networks the map od networks to nic profiles list */ - private List> getOrderedNetworkNicProfileMapping(final LinkedHashMap> networks) { + private List> getOrderedNetworkNicProfileMapping(final LinkedHashMap> networks) { List> profilesList = new ArrayList<>(); for (final Map.Entry> network : networks.entrySet()) { List requestedProfiles = network.getValue(); diff --git a/ui/src/views/network/VpcTiersTab.vue b/ui/src/views/network/VpcTiersTab.vue index 8f062ddd0aa..8bb84392bd3 100644 --- a/ui/src/views/network/VpcTiersTab.vue +++ b/ui/src/views/network/VpcTiersTab.vue @@ -462,7 +462,7 @@ export default { this.rules = reactive({}) }, showIlb (network) { - return network.service.filter(s => (s.name === 'Lb') && (s.capability.filter(c => c.name === 'LbSchemes' && c.value.split(',').includes('Internal')).length > 0)).length > 0 || false + return network.service.filter(s => (s.name === 'Lb') && (s.capability.filter(c => c.name === 'LbSchemes' && c.value === 'Internal').length > 0)).length > 0 || false }, updateMtu () { if (this.form.privatemtu > this.privateMtuMax) {