blob: 241ed3901dc18478b3b068059e45b39b0e8b67f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class WaitForClusterCreationWorker
include Sidekiq::Worker
include ClusterQueue
def perform(cluster_id)
Clusters::Cluster.find_by_id(cluster_id).try do |cluster|
cluster.provider.try do |provider|
Clusters::Gcp::VerifyProvisionStatusService.new.execute(provider) if cluster.gcp?
end
end
end
end
|