Skip to content

Remove unused runner argument in track_ci_minutes_usage!

Pedro Pombeiro requested to merge pedropombeiro/fix-current_runner-usage into master

What does this MR do and why?

This MR fixes a subtle bug in the argument sent to track_ci_minutes_usage!. In the context of a job endpoint, token refers to a job token, not a runner token, so current_runner will not work. We should use job.runner in that case. Fortunately, this argument is not used in track_ci_minutes_usage!, but we still should use the correct object.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Pedro Pombeiro

Merge request reports

Loading