debian-mirror-gitlab/app/workers/cluster_wait_for_ingress_ip_address_worker.rb
2018-03-27 19:54:05 +05:30

12 lines
299 B
Ruby

class ClusterWaitForIngressIpAddressWorker
include ApplicationWorker
include ClusterQueue
include ClusterApplications
def perform(app_name, app_id)
find_application(app_name, app_id) do |app|
Clusters::Applications::CheckIngressIpAddressService.new(app).execute
end
end
end