2019-07-07 11:18:12 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Clusters
|
|
|
|
module Applications
|
|
|
|
class UpdateService < Clusters::Applications::BaseService
|
|
|
|
private
|
|
|
|
|
|
|
|
def worker_class(application)
|
|
|
|
ClusterPatchAppWorker
|
|
|
|
end
|
|
|
|
|
|
|
|
def builder
|
2019-12-04 20:38:33 +05:30
|
|
|
cluster.public_send(application_class.association_name) # rubocop:disable GitlabSecurity/PublicSend
|
2019-07-07 11:18:12 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|