url command should return https if it's configured

This commit is contained in:
Domonkos Czinke
2016-07-05 21:53:54 +02:00
committed by Jose Diaz-Gonzalez
parent 2b929a98e7
commit 5af42dc678

View File

@@ -1015,7 +1015,7 @@ get_app_urls() {
local URLS="$(merge_dedupe_list "$port_urls $app_urls" " ")"
case "$1" in
url)
echo "$URLS" | tr ' ' '\n' | head -n1
echo "$URLS" | tr ' ' '\n' | tail -1
;;
urls)
echo "$URLS" | tr ' ' '\n' | sort