summaryrefslogtreecommitdiff
path: root/app/services/clusters
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-01 17:10:41 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-01 17:10:41 +0100
commite659481c61ebd879038ac7b0f40a2e149843a91d (patch)
treeed48e4b3e4e0a746e105e038d2785a11df442adc /app/services/clusters
parent1427bdcadf5f4026d141a5c4e93db8b1b00fe40a (diff)
downloadgitlab-ce-e659481c61ebd879038ac7b0f40a2e149843a91d.tar.gz
Pass cluster_id
Diffstat (limited to 'app/services/clusters')
-rw-r--r--app/services/clusters/gcp/provision_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/gcp/provision_service.rb b/app/services/clusters/gcp/provision_service.rb
index 8ec81e22203..8beea5a8cfb 100644
--- a/app/services/clusters/gcp/provision_service.rb
+++ b/app/services/clusters/gcp/provision_service.rb
@@ -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