This is an automated email from the ASF dual-hosted git repository.

pearl11594 pushed a commit to branch nsx-vpc-routed-mode
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 8c12ce373bc4518282cc553eee9934952b96edf2
Author: Pearl Dsilva <pearl1...@gmail.com>
AuthorDate: Fri Jan 26 09:38:56 2024 -0500

    remove unnecessary changes
---
 .../org/apache/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<Pair<Network, NicProfile>>     
getOrderedNetworkNicProfileMapping(final LinkedHashMap<? extends Network, 
List<? extends NicProfile>> networks) {
+    private List<Pair<Network, NicProfile>> 
getOrderedNetworkNicProfileMapping(final LinkedHashMap<? extends Network, 
List<? extends NicProfile>> networks) {
         List<Pair<Network, NicProfile>> profilesList = new ArrayList<>();
         for (final Map.Entry<? extends Network, List<? extends NicProfile>> 
network : networks.entrySet()) {
             List<? extends NicProfile> 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) {

Reply via email to