DCP: Allow unused keyword arguments for Rubocop

This commit is contained in:
Sebastian Serth
2022-12-19 17:09:59 +01:00
parent 8a6e0a8366
commit fb9ab4cd61

View File

@ -104,7 +104,7 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy
Rails.logger.debug { "#{Time.zone.now.getutc.inspect}: Finished copying files" } Rails.logger.debug { "#{Time.zone.now.getutc.inspect}: Finished copying files" }
end end
def retrieve_files(path: './', recursive: true, privileged_execution: false) def retrieve_files(path: './', recursive: true, privileged_execution: false) # rubocop:disable Lint/UnusedMethodArgument for the keyword argument
# The DockerContainerPool does not support retrieving files from the runner. # The DockerContainerPool does not support retrieving files from the runner.
{'files' => []} {'files' => []}
end end