Browse Source

Use 5672 as the default port if none specified

Change-Id: I7fdff2ae08980becf530a5cdd13a8e3f89d3c22d
Kenneth Giusti 2 years ago
parent
commit
7412889f0d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      devstack/plugin.sh

+ 1
- 1
devstack/plugin.sh View File

@@ -33,7 +33,7 @@
33 33
 
34 34
 # builds transport url string
35 35
 function _get_amqp1_transport_url {
36
-    local port=$1
36
+    local port=${1:-5672}
37 37
     echo "amqp://$AMQP1_USERNAME:$AMQP1_PASSWORD@$AMQP1_HOST:$port/"
38 38
 }
39 39
 

Loading…
Cancel
Save