Skip to content

Commit

Permalink
openqa-label-known-issues: Default to 3 retries with openqa-cli
Browse files Browse the repository at this point in the history
By default openqa-cli is not enabling any retries.

See: https://progress.opensuse.org/issues/135740
  • Loading branch information
kalikiana committed Sep 21, 2023
1 parent 684dd46 commit eb4929f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openqa-label-known-issues
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ email_unreviewed=${email_unreviewed:-false}
notification_address=${notification_address:-}
from_email=${from_email:-openqa-label-known-issues@open.qa}
curl_args=(-L --user-agent "openqa-label-known-issues")
client_args=(api --header 'User-Agent: openqa-label-known-issues (https://github.com/os-autoinst/scripts)' --host "$host_url")
retries="${retries:-"3"}"
client_args=(api --header 'User-Agent: openqa-label-known-issues (https://github.com/os-autoinst/scripts)' --host "$host_url" --retries="$retries")

out="${REPORT_FILE:-$(mktemp -t openqa-label-known-issues--output-XXXX)}"
trap 'error-handler "$LINENO"' ERR
Expand Down

0 comments on commit eb4929f

Please sign in to comment.