Skip to content

Commit

Permalink
github_watcher.rb: fix various typos
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
p-linnane committed Feb 16, 2024
1 parent 13a3c66 commit f4fe2d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/github_watcher.rb
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f4fe2d5

Please sign in to comment.