tests: correct test issues

This commit is contained in:
Jose Diaz-Gonzalez
2020-02-10 02:54:31 -05:00
parent 7357579af2
commit aa6a651f1d
9 changed files with 17 additions and 38 deletions

View File

@@ -2,6 +2,15 @@
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/ssh-keys/internal-functions"
source "$PLUGIN_AVAILABLE_PATH/ssh-keys/functions"
cmd-ssh-keys-list() {
declare desc="List ssh key hashes"
declare cmd="ssh-keys:list"
[[ "$1" == "$cmd" ]] && shift 1
verify_ssh_key_file
sshcommand list dokku
}
cmd-ssh-keys-list "$@"