debian-mirror-gitlab/app/services/clusters/applications/update_service.rb

18 lines
332 B
Ruby
Raw Normal View History

2019-05-18 00:54:41 +05:30
# frozen_string_literal: true
module Clusters
module Applications
class UpdateService < Clusters::Applications::BaseService
private
def worker_class(application)
ClusterPatchAppWorker
end
def builder
cluster.method("application_#{application_name}").call
end
end
end
end