fix: correct the validation message

This commit is contained in:
Jose Diaz-Gonzalez
2019-03-09 16:39:34 -05:00
parent 1551ec61e7
commit fc3f6a8a52
44 changed files with 44 additions and 44 deletions

View File

@@ -19,7 +19,7 @@ service-backup-schedule-cmd() {
declare SERVICE="$1" SCHEDULE="$2" BUCKET_NAME="$3" USE_IAM_OPTIONAL_FLAG="$4"
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 "$SCHEDULE" ]] && dokku_log_fail "Please specify a schedule for the backup"
[[ -z "$BUCKET_NAME" ]] && dokku_log_fail "Please specify an aws bucket for the backup"
verify_service_name "$SERVICE"