Use 5672 as the default port if none specified
Change-Id: I7fdff2ae08980becf530a5cdd13a8e3f89d3c22d
This commit is contained in:
parent
a9891fe766
commit
7412889f0d
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
# builds transport url string
|
# builds transport url string
|
||||||
function _get_amqp1_transport_url {
|
function _get_amqp1_transport_url {
|
||||||
local port=$1
|
local port=${1:-5672}
|
||||||
echo "amqp://$AMQP1_USERNAME:$AMQP1_PASSWORD@$AMQP1_HOST:$port/"
|
echo "amqp://$AMQP1_USERNAME:$AMQP1_PASSWORD@$AMQP1_HOST:$port/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue