Remove set_docker_client method from submissions_controller.rb

This commit is contained in:
Sebastian Serth
2021-09-19 12:04:14 +02:00
parent 5037a73f36
commit 4ad898ad8b

View File

@ -270,11 +270,6 @@ class SubmissionsController < ApplicationController
end
end
# def set_docker_client
# @docker_client = DockerClient.new(execution_environment: @submission.execution_environment)
# end
# private :set_docker_client
def set_file
@file = @files.detect {|file| file.name_with_extension == sanitize_filename }
head :not_found unless @file