diff options
Diffstat (limited to 'app/workers/gitlab_shell_worker.rb')
-rw-r--r-- | app/workers/gitlab_shell_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/gitlab_shell_worker.rb b/app/workers/gitlab_shell_worker.rb index 2f396dcdb86..b3c0fa79658 100644 --- a/app/workers/gitlab_shell_worker.rb +++ b/app/workers/gitlab_shell_worker.rb @@ -14,7 +14,7 @@ class GitlabShellWorker # rubocop:disable Scalability/IdempotentWorker loggable_arguments 0 def perform(action, *arg) - if ::Feature.enabled?(:verify_gitlab_shell_worker_method_names) && Gitlab::Shell::PERMITTED_ACTIONS.exclude?(action) + if Gitlab::Shell::PERMITTED_ACTIONS.exclude?(action) raise(ArgumentError, "#{action} not allowed for #{self.class.name}") end |