Merge pull request #7545 from dokku/let-sshcommand-validate

feat: delegate authorized_keys file validation to sshcommand
This commit is contained in:
Jose Diaz-Gonzalez
2025-02-26 09:34:08 -06:00
committed by GitHub
2 changed files with 4 additions and 5 deletions

View File

@@ -23,7 +23,6 @@ cmd-ssh-keys-list() {
FORMAT=""
fi
verify_ssh_key_file
if [[ "$FORMAT" == "json" ]]; then
if [[ -n "$NAME" ]]; then
sshcommand list dokku "" "$FORMAT" | jq -cM "[.[] | select(.name == \"$NAME\")]"