summaryrefslogtreecommitdiff
path: root/app/workers/gitlab_shell_worker.rb
blob: 0ec871e00e1694e74638130ce3238793a38921b1 (plain)
1
2
3
4
5
6
7
8
9
class GitlabShellWorker
  include Sidekiq::Worker
  include Gitlab::ShellAdapter
  include DedicatedSidekiqQueue

  def perform(action, *arg)
    gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
  end
end