fix: run shfmt

This commit is contained in:
Jose Diaz-Gonzalez
2022-08-10 04:28:50 -04:00
parent b66a8e6181
commit aeaf8e78f1
2 changed files with 19 additions and 20 deletions

View File

@@ -86,19 +86,19 @@ cmd-traefik-logs() {
while true; do
case "$1" in
-t | --tail)
local TAIL=true
shift
;;
-n | --num)
local NUM="$2"
shift 2
;;
--)
shift
break
;;
*) dokku_log_fail "Internal error" ;;
-t | --tail)
local TAIL=true
shift
;;
-n | --num)
local NUM="$2"
shift 2
;;
--)
shift
break
;;
*) dokku_log_fail "Internal error" ;;
esac
done

View File

@@ -5,12 +5,11 @@ set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | traefik:help)
cmd-traefik-help "$@"
;;
*)
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
;;
help | traefik:help)
cmd-traefik-help "$@"
;;
*)
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
;;
esac