fix: correct the validation message

This commit is contained in:
Jose Diaz-Gonzalez
2019-03-09 16:39:35 -05:00
parent 233a261a3f
commit ec4e5b4a43
44 changed files with 44 additions and 44 deletions

View File

@@ -14,7 +14,7 @@ service-backup-set-encryption-cmd() {
declare SERVICE="$1" PASSPHRASE="$2"
is_implemented_command "$cmd" || dokku_log_fail "Not yet implemented"
[[ -z "$SERVICE" ]] && dokku_log_fail "Please specify a name for the service"
[[ -z "$SERVICE" ]] && dokku_log_fail "Please specify a valid name for the service"
[[ -z "$PASSPHRASE" ]] && dokku_log_fail "Please specify a GPG backup passphrase"
verify_service_name "$SERVICE"
service_backup_set_encryption "$SERVICE" "$PASSPHRASE"