From 8c12ce373bc4518282cc553eee9934952b96edf2 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Fri, 26 Jan 2024 09:38:56 -0500 Subject: [PATCH] remove unnecessary changes --- .../cloudstack/engine/orchestration/NetworkOrchestrator.java | 2 +- ui/src/views/network/VpcTiersTab.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {