You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by an...@apache.org on 2020/01/19 18:02:42 UTC

[cloudstack] 01/01: set TCP as default protocol in lb list

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

andrijapanic pushed a commit to branch TPC-as-default-protocol-in-LB-list
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit b9f39757506e0831ebcf015c408f6e93f7198c0d
Author: Andrija Panic <45...@users.noreply.github.com>
AuthorDate: Sun Jan 19 19:02:22 2020 +0100

    set TCP as default protocol in lb list
---
 ui/scripts/network.js | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index f93fc557..ff4c9b4 100644
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -3441,21 +3441,21 @@
                                                 isEditable: true,
                                                 select: function(args) {
                                                     var data = [{
-                                                            id: 'ssl',
-                                                            name: 'ssl',
-                                                            description: _l('label.lb.protocol.ssl')
-                                                        }, {
                                                             id: 'tcp',
                                                             name: 'tcp',
                                                             description: _l('label.lb.protocol.tcp')
                                                         }, {
+                                                            id: 'udp',
+                                                            name: 'udp',
+                                                            description: _l('label.lb.protocol.udp')
+                                                        }, {
                                                             id: 'tcp-proxy',
                                                             name: 'tcp-proxy',
                                                             description: _l('label.lb.protocol.tcp.proxy')
                                                         }, {
-                                                            id: 'udp',
-                                                            name: 'udp',
-                                                            description: _l('label.lb.protocol.udp')
+                                                            id: 'ssl',
+                                                            name: 'ssl',
+                                                            description: _l('label.lb.protocol.ssl')
                                                         }];
                                                     if (typeof args.context != 'undefined') {
                                                         var lbProtocols = getLBProtocols(args.context.networks[0]);