url command should return https if it's configured

This commit is contained in:
Domonkos Czinke authored and Jose Diaz-Gonzalez committed 2017-07-22 15:15:54 -06:00
1 parent 2b929a98e7
commit 5af42dc678
1 file changed
+1 -1
+1 -1
View File
@@ -1015,7 +1015,7 @@ get_app_urls() {
local URLS="$(merge_dedupe_list "$port_urls $app_urls" " ")" local URLS="$(merge_dedupe_list "$port_urls $app_urls" " ")"
case "$1" in case "$1" in
url) url)
echo "$URLS" | tr ' ' '\n' | head -n1 echo "$URLS" | tr ' ' '\n' | tail -1
;; ;;
urls) urls)
echo "$URLS" | tr ' ' '\n' | sort echo "$URLS" | tr ' ' '\n' | sort