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

@@ -15,7 +15,7 @@ service-logs-cmd() {
local cmd="$PLUGIN_COMMAND_PREFIX:logs" argv=("$@"); [[ ${argv[0]} == "$cmd" ]] && shift 1
declare SERVICE="$1" TAIL_FLAG="$2"
[[ -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"
verify_service_name "$SERVICE"
service_logs "$SERVICE" "$TAIL_FLAG"
}