diff --git a/lib/runner/strategy.rb b/lib/runner/strategy.rb index 08fa8de6..bbb8ec72 100644 --- a/lib/runner/strategy.rb +++ b/lib/runner/strategy.rb @@ -33,7 +33,7 @@ class Runner::Strategy raise NotImplementedError end - def retrieve_files(_path:, _recursive:, privileged_execution:) + def retrieve_files(path:, recursive:, privileged_execution:) raise NotImplementedError end diff --git a/lib/runner/strategy/docker_container_pool.rb b/lib/runner/strategy/docker_container_pool.rb index 857993eb..e4558ef9 100644 --- a/lib/runner/strategy/docker_container_pool.rb +++ b/lib/runner/strategy/docker_container_pool.rb @@ -104,7 +104,7 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy Rails.logger.debug { "#{Time.zone.now.getutc.inspect}: Finished copying files" } end - def retrieve_files(_path:, _recursive:, privileged_execution:) + def retrieve_files(path:, recursive:, privileged_execution:) # The DockerContainerPool does not support retrieving files from the runner. end diff --git a/lib/runner/strategy/null.rb b/lib/runner/strategy/null.rb index c678d60d..e5b53cc9 100644 --- a/lib/runner/strategy/null.rb +++ b/lib/runner/strategy/null.rb @@ -25,7 +25,7 @@ class Runner::Strategy::Null < Runner::Strategy def copy_files(_files); end - def retrieve_files(_path:, _recursive:, privileged_execution: false); end + def retrieve_files(path:, recursive:, privileged_execution: false); end def download_file(_file, privileged_execution: false, &_block) # rubocop:disable Lint/UnusedMethodArgument for the keyword argument raise Runner::Error.new