diff --git a/src/github_watcher.rb b/src/github_watcher.rb index d764624..290b605 100644 --- a/src/github_watcher.rb +++ b/src/github_watcher.rb @@ -35,7 +35,7 @@ def refresh_token token = state.github_client .create_org_runner_registration_token(state.config.github_organisation) rescue Octokit::Error - log("Error retriving runner registration token.", error: true) + log("Error retrieving runner registration token.", error: true) return end @@ -67,7 +67,7 @@ def refresh_download_urls } end rescue Octokit::Error - log("Error retriving runner download URL.", error: true) + log("Error retrieving runner download URL.", error: true) return end @@ -152,7 +152,7 @@ def delete_runners begin runners = state.github_client.org_runners(state.config.github_organisation).runners rescue Octokit::Error - log("Error retriving organisation runner list.", error: true) + log("Error retrieving organisation runner list.", error: true) return end @@ -204,7 +204,7 @@ def timeout_queued_and_deployed begin run_statuses[run_key] = state.github_client.workflow_run_attempt(repo, job.run_id, job.run_attempt).status rescue Octokit::Error - log("Error retriving workflow run information for #{run_key}.", error: true) + log("Error retrieving workflow run information for #{run_key}.", error: true) next end end