Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Fix shellcheck lint in tools/gpuci_retry (#38)
Browse files Browse the repository at this point in the history
* Empty commit to test CI

* Add blank lines to tools scripts to run CI

* Revert "Add blank lines to tools scripts to run CI"

This reverts commit a83b035.

* Apply `shellcheck` fixes to `tools` scripts

CI started failing on `main`. Looks like this was due to a `shellcheck`
failure. This applies the fix proposed by `shellcheck` to clear CI
issues.
  • Loading branch information
jakirkham authored Aug 30, 2024
1 parent 6e6c8c8 commit 0789f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gpuci_retry
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function gpuci_retry {
(( retries < max_retries )); do
((retries++))
gpuci_logger "gpuci_retry: retry ${retries} of ${max_retries} | exit code: (${retcode}) -> sleeping for ${sleep_interval} seconds..."
sleep ${sleep_interval}
sleep "${sleep_interval}"
gpuci_logger "gpuci_retry: sleep done -> retrying..."

${command} "$@"
Expand Down

0 comments on commit 0789f44

Please sign in to comment.