Strategy: Allow privileged_execution: keyword even if not used

This commit is contained in:
Sebastian Serth
2022-10-05 19:19:12 +02:00
parent a5da7d1f84
commit cb94bc3de6
3 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy
Rails.logger.debug { "#{Time.zone.now.getutc.inspect}: Finished copying files" }
end
def attach_to_execution(command, event_loop, starting_time, _privileged_execution: false)
def attach_to_execution(command, event_loop, starting_time, privileged_execution: false) # rubocop:disable Lint/UnusedMethodArgument for the keyword argument
reset_inactivity_timer
@command = command