mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
scripts: Pass --retry 3 to curl.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
c2cbc57bc4
commit
fc9f23a85f
@@ -91,7 +91,7 @@ fi
|
||||
# seems to require authentication even for simple lookups of public data,
|
||||
# and that'd be a pain for a simple script like this.
|
||||
pr_url=https://api.github.com/repos/"${repo_fq}"/pulls/"${pr_id}"
|
||||
pr_details="$(curl -fLsS "$pr_url")"
|
||||
pr_details="$(curl -fLsS --retry 3 "$pr_url")"
|
||||
|
||||
pr_jq() {
|
||||
echo "$pr_details" | jq "$@"
|
||||
|
||||
Reference in New Issue
Block a user