From aeaf8e78f16e25cca30d1339ce2d0e9d85c340a0 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 10 Aug 2022 04:28:50 -0400 Subject: [PATCH] fix: run shfmt --- plugins/traefik-vhosts/command-functions | 26 ++++++++++++------------ plugins/traefik-vhosts/commands | 13 ++++++------ 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/plugins/traefik-vhosts/command-functions b/plugins/traefik-vhosts/command-functions index 0f827421d..facd08d79 100755 --- a/plugins/traefik-vhosts/command-functions +++ b/plugins/traefik-vhosts/command-functions @@ -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 diff --git a/plugins/traefik-vhosts/commands b/plugins/traefik-vhosts/commands index 1916be8c6..dfcc90d93 100755 --- a/plugins/traefik-vhosts/commands +++ b/plugins/traefik-vhosts/commands @@ -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