Use 5672 as the default port if none specified

Change-Id: I7fdff2ae08980becf530a5cdd13a8e3f89d3c22d
This commit is contained in:
Kenneth Giusti 2016-11-30 11:11:36 -05:00
parent a9891fe766
commit 7412889f0d
1 changed files with 1 additions and 1 deletions

View File

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