debian-mirror-gitlab/app/services/clusters/applications/update_service.rb
2019-07-31 17:26:46 +00:00

17 lines
377 B
Ruby

# frozen_string_literal: true
module Clusters
module Applications
class UpdateService < Clusters::Applications::BaseService
private
def worker_class(application)
ClusterPatchAppWorker
end
def builder
cluster.public_send(:"application_#{application_name}") # rubocop:disable GitlabSecurity/PublicSend
end
end
end
end