Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/run_scheduled.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ -z "$job" || -z "$env_name" ]]; then
echo "usage: $0 <job> <env>" >&2
exit 2
fi
# Job and env become part of a variable name below; a stray character would look up
# The job name becomes part of a variable name below; a stray character would look up
# the wrong variable and silently disable the ping.
if [[ ! "$job" =~ ^[A-Za-z0-9_-]+$ || ! "$env_name" =~ ^[A-Za-z0-9_-]+$ ]]; then
echo "error: job and env must match [A-Za-z0-9_-]+" >&2
Expand Down
Loading