Update keyword arguments for #retrieve_files
This commit is contained in:

committed by
Sebastian Serth

parent
58548555a5
commit
9e7b3b7b58
@ -33,7 +33,7 @@ class Runner::Strategy
|
|||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
end
|
end
|
||||||
|
|
||||||
def retrieve_files(_path:, _recursive:, privileged_execution:)
|
def retrieve_files(path:, recursive:, privileged_execution:)
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -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:, privileged_execution:)
|
def retrieve_files(path:, recursive:, privileged_execution:)
|
||||||
# The DockerContainerPool does not support retrieving files from the runner.
|
# The DockerContainerPool does not support retrieving files from the runner.
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ class Runner::Strategy::Null < Runner::Strategy
|
|||||||
|
|
||||||
def copy_files(_files); end
|
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
|
def download_file(_file, privileged_execution: false, &_block) # rubocop:disable Lint/UnusedMethodArgument for the keyword argument
|
||||||
raise Runner::Error.new
|
raise Runner::Error.new
|
||||||
|
Reference in New Issue
Block a user