Pass cluster_id

This commit is contained in:
Kamil Trzcinski 2017-11-01 17:10:41 +01:00
parent 1427bdcadf
commit e659481c61

View file

@ -10,7 +10,7 @@ module Clusters
if provider.make_creating(operation_id)
WaitForClusterCreationWorker.perform_in(
Clusters::Gcp::VerifyProvisionStatusService::INITIAL_INTERVAL,
provider.id)
provider.cluster_id)
else
provider.make_errored!("Failed to update provider record; #{provider.errors}")
end