From f4fe2d5a21dbc8007f4d43e2a6d76b22350efbbd Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Fri, 16 Feb 2024 11:59:31 -0800 Subject: [PATCH] github_watcher.rb: fix various typos Signed-off-by: Patrick Linnane --- src/github_watcher.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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